Hello,
I noticed that if the string to be parsed by json::value::parse starts with the BOM (byte order mark) an web::json::json_exception is thrown. Is the BOM unsupported?
Thanks,
Pedro
Comments: Hi Pedro, No currently our JSON parse doesn't not look for or expect a BOM to be present. The best fix would be to have the parser automatically be resilient to a present BOM. If you want to make the change improving we accept contributions. This is related to the following issue as well. https://casablanca.codeplex.com/workitem/270 Steve
I noticed that if the string to be parsed by json::value::parse starts with the BOM (byte order mark) an web::json::json_exception is thrown. Is the BOM unsupported?
Thanks,
Pedro
Comments: Hi Pedro, No currently our JSON parse doesn't not look for or expect a BOM to be present. The best fix would be to have the parser automatically be resilient to a present BOM. If you want to make the change improving we accept contributions. This is related to the following issue as well. https://casablanca.codeplex.com/workitem/270 Steve