raise error when parsing object with NaN or INF to JSON
Summary: NaN or INF is not allowed according to JSON specification. This will cause problems when other places try to encode the output of toJson with NaN or INF. raise error when parsing object with NaN or INF to JSON. Test Plan: manually test, raise error for object w/ NaN Reviewed By: delong.j@fb.com FB internal diff: D1143853
Showing
Please register or sign in to comment