Read JSON (text file) into C# 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
19:53 UTC
Read the original article
Hit count: 2449
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. Thanks
© Stack Overflow or respective owner