json class : json(string) fitter
Description
Get a new instance of the json class created from a string written in JSON format.
Syntax
new json(string jsonStr)
Arguments
Class | Name | Description |
string | jsonStr | A string written in JSON format. |
Return value
Class | Description |
json | A new instance of the json class created from the specified string. |
Sample code
1: | json jsonData = new json("{@name@:@suzuki@,@age@:1}".Replace("@","".DQ)); |
Notes
None.
Links for reference
None.