Home Notices Documents Classes Download Others Rice
Classes  >  json
json class

Description

Provides a function to browse JSON (JavaScript Object Notation) data.

Notes

It is a class that is dynamically embedded when the CookerGX runs.

This class is distributed as Rtype.Json.dll.

Note : Rtype.Json.dll is not included in the CookerGX distribution archive. In order to use the class, please incorporate the dll file yourself.

DLL

Rtype.Json.dll

fitter

SignatureDescription
json()

Get a new instance of json class.

json(string)

Get a new instance of the json class created from a string written in JSON format.

getter

SignatureDescription
Count

Gets the number of direct child elements of the instance.

Fitted

Gets a value that indicates whether this instance was already initialized.

direct call

Gets a member's value using Rice's getter call notation.

IsArray

Gets a value indicating whether the instance is an array.

TypeName

Gets the type name.

setter

This class does not have a setter.

method

SignatureDescription
Get(int)

Gets a value corresponding to an index.

Get(string)

Gets a value corresponding to a member name.

IsDefined(int)

Gets a value indicating whether a value corresponding to the index exists.

IsDefined(string)

Gets a value indicating whether a member corresponding to the member name exists.

IsNull(int)

Gets a value indicating whether a value corresponding to the index is null.

IsNull(string)

Gets a value indicating whether a value corresponding to the member name is null.

Keys()

Get a list of member names.

ToString()

Gets a JSON format string of the instance.

Downloads for latest version.

The above .dll and source files are distributed as a self-extracting archive of 7z format.

Copyright © Rice All rights reserved.