FastJsonParser
FastJsonParser copied to clipboard
Parser fails to parse a simple json.
using System; using System.Collections.Generic; using System.Text.Json;
namespace ConsoleApplication1 { class Program { private class Outcome { //public int odds { get; set; } public string oddsFractional { get; set; } }
static void Main(string[] args)
{
var parser = new JsonParser();
var evnts = parser.Parse<Outcome>("{\"odds\":550,\"oddsFractional\":\"1 / 1\"}");
}
}
}
This simple json fails to parse. If the commented line get uncommented it works as expected.
@binis2 Thanks for reporting.