Allowing trailing comma in folly::parseJson
Summary: Introduced a new serialization option, `allow_trailing_comma`, which allows trailing commas to be included in strings when they are parsed. This isn't strictly allowed by RFC 4627, but we're allowing more than that anyway. I've run into this dozens of times, especially while using SMC. Test Plan: Unit tests Reviewed By: delong.j@fb.com FB internal diff: D872581
Showing
Please register or sign in to comment