Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 269 Bytes

File metadata and controls

13 lines (8 loc) · 269 Bytes

json-parser

Simple JSON parser written in C#. Returns true if JSON is OK, otherwise throws proper exception.

usage

var json = @"{"key1": "abc", "key2": 42}";

var lexer = new Lexer(json);

Console.WriteLine(Parser.TryParse(lexer.Tokenize())); //true