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
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
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