Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
This module provides Douglas Crockford's JSON implementation without modifying any globals.
stringify
and parse
are merely exported without respect to whether or not a
global JSON
object exists.
var json = require('jsonify');
Return a new javascript object from a parse of the source
string.
If a reviver
function is specified, walk the structure passing each name/value
pair to reviver.call(parent, key, value)
to transform the value
before
parsing it.
Return a string representation for value
.
If replacer
is specified, walk the structure passing each name/value pair to
replacer.call(parent, key, value)
to transform the value
before stringifying
it.
If space
is a number, indent the result by that many spaces.
If space
is a string, use space
as the indentation.
v0.0.0 - 2011-08-21
11c7bdf
9210504
99a8b65
10e1b96
633fe5a
5258ce2
40d8617
ad6079c
69d3062
29db45f
d58c20e
8d11dc6
8e0b15c
006d2aa
FAQs
JSON without touching any globals
The npm package jsonify receives a total of 5,829,125 weekly downloads. As such, jsonify popularity was classified as popular.
We found that jsonify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.