ImageEn, unit hyieutils

TIEDictionary.Parse

TIEDictionary.Parse


Declaration


function Parse(text: WideString): boolean;



Description


Parses the JSON-like string and populates the dictionary.
This method doesn't remove existing items.

Parameter Description
text A JSON-like text



See Also


- Dump


Example


// dict.Parse('{"string" : "string content", "myinteger": 1234, "mydouble": 123.456, "a_bool_true" : true, "a_bool_false" : false, "subdict" : {"name": "john", "surname" : "mad"}, "array": [1,2,3,4,"hello", {}, {"alfa":"beta"}, [9,10]] }');