Default context to use during serialization.
Default context to use during serialization.
Method for serializing a JavaScript object or a value to a JSON string.
the JavaScript object or value to be serialized.
the context to be used during serialization.
Method for applying json decorators to a JavaScript object/value. It returns a JavaScript object/value with json decorators applied and ready to be JSON serialized.
the JavaScript object or value to be preprocessed.
the context to be used during serialization preprocessing.
Make a default {@link JsonStringifierContext}.
Merge multiple {@link JsonStringifierContext} into one. Array direct properties will be concatenated, instead, Map and Object Literal direct properties will be merged. All the other properties, such as {@link JsonStringifierContext.mainCreator}, will be completely replaced.
list of contexts to be merged.
Generated using TypeDoc
JsonStringifier provides functionality for writing JSON. It is also highly customizable to work both with different styles of JSON content, and to support more advanced Object concepts such as polymorphism and Object identity.