JadeJson Methods

The methods defined in the JadeJson class are summarized in the following table.

Method Description
generateJson Generates JSON from a primitive type variable or an object
generateJsonDynamic Generates JSON from the value of type Any specified in the source parameter
generateJsonFile Generates JSON from a primitive type variable or an object, and writes the output to a file
parse Parses JSON text to create and populate an object and all referenced objects
parseDynamic Generates a series of linked JadeJsonObject objects and JadeAnyArray arrays that accurately represent the passed in JSON data structure
parseFile Reads and parses JSON text from a file to create and populate an object and all referenced objects
parsePrimitive Parses JSON text for a primitive type and returns the primitive type value
parsePrimitiveFile Parses JSON text for a primitive type from a file and returns the primitive type value
setOffsetForTimeStamps

Sets the offsetForTimeStamps property to the value of the offset of the time zone specified in the timeZoneName parameter