An Object Literal containing attributes values to be assigned during serialization for JsonAppend attributes.
To be able to use JsonFormat on class properties of type Date
with JsonFormatShape.STRING, a date library needs to be set.
Date libraries supported: https://github.com/moment/moment, https://github.com/iamkun/dayjs/.
Property whose keys are the decorators name that will be enabled/disabled during serialization/deserialization.
Property that defines features to set for ObjectMapper and JsonStringifier.
Property that defines features to set for ObjectMapper and JsonStringifier.
An Object Literal containing filter options used by JsonFilter during serialization. Object keys are simple string that refers to the name of the corresponding JsonFilterOptions.value.
Property whose keys are JavaScript Classes and its values are contexts to be used only for that JavaScript Classes.
More specific contexts can be nested one inside the other. In this way, specific contexts can be applied to a JavaScript Class only if the nested JavaScript Class is found as one of the values of the parent JavaScript Class properties.
A String
or Number
object that's used to insert white space into the output JSON string for readability purposes.
If this is a Number, it indicates the number of space characters to use as white space; this number is capped at 10 (if it is greater, the value is just 10). Values less than 1 indicate that no space should be used.
If this is a String, the string (or the first 10 characters of the string, if it's longer than that) is used as white space. If this parameter is not provided (or is null), no white space is used.
Function that returns a list of JavaScript Classes.
Array of custom user-defined serializers.
To be able to use JsonIdentityInfo with any UUID ObjectIdGenerator, an UUID library needs to be set. UUID libraries supported: https://github.com/uuidjs/uuid.
List of context groups used to serialize/deserialize JSON objects.
List of views (see JsonView) used to serialize/deserialize JSON objects.
Generated using TypeDoc
Context properties used by JsonStringifier.stringify during serialization.