Functions4 public, 1 private

Returns if the provided data can be serialized as JSON string. An example for data that cannot be serialized: binary
publicbooleancanBeSerializedAsJson
requiredanydata
Type sensitive serialization of the provided value as JSON. Supports simple values, arrays and structs. Use javaCast() to set the desired type.
publicstringjsonSerialize
anyvalue
Escapes the provided value according to JSON specs.
publicstringjsonEscape
requiredstringvalue
booleanpreserveSpecialCharsfalse
Serializes the provided data as JSON.
publicstringserializeJSON
requiredstring<JSON>, structdata
structOPTIONS{}
optionbooleanlowercasefalse
optionbooleanprettyprintfalse