Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

Commented Issue: json::value::parse fails with BOM (byte order mark) [384]

$
0
0
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

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>