Read JSON (text file) into .NET application

Posted by Bi on Stack Overflow See other posts from Stack Overflow or by Bi
Published on 2010-04-14T19:50:27Z Indexed on 2010/04/14 20:13 UTC
Read the original article Hit count: 94

Filed under:
|

I have a configuration file in the following JSON format:

{

  "key1": "value1",  
  "key2": "value2",  
  "key3": false,  
  "key4": 10,  

}

The user can set/unset the configuration values using a text editor. I however need to read it in my C# application. Whats the best way to do so for JSON? The above keys are not associated with a class.

© Stack Overflow or respective owner

Related posts about c#

Related posts about JSON