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

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool Parse(
	string text
)
Public Function Parse ( _
	text As String _
) As Boolean
public:
bool Parse(
	String^ text
)

Parameters

text
String
A JSON-like text

Return Value

Returns true on successful

Examples

CopyC#
IEDictionary d = new IEDictionary();
d.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]] }");

See Also