Example #1
0
 /// <summary>
 /// Converts a JSON string from given input into a tree of .NET arrays, dictionaries, strings and decimals.
 /// </summary>
 public object Read(JSonReaderNumberFormat format)
 {
     Reset(FclObjectFactory.Create(format));
     return(ReadInput());
 }
Example #2
0
 /// <summary>
 /// Converts a JSON string from given input into a tree of .NET arrays, dictionaries, strings and decimals.
 /// </summary>
 public object Read(TextReader input, JSonReaderNumberFormat format)
 {
     SetSource(input);
     Reset(FclObjectFactory.Create(format));
     return(ReadInput());
 }
Example #3
0
 /// <summary>
 /// Converts a JSON string from given input into a tree of .NET arrays, dictionaries, strings and decimals.
 /// </summary>
 public object Read()
 {
     _factory = FclObjectFactory.Create(JSonReaderNumberFormat.Default);
     return(ReadInput());
 }