7419a82bd7
Summary: public NSJSONSerialization throws an exception when it encounters bad JSON data, including NaN values, which may not be a programming error. This diff adds code to catch those exceptions and convert to an error. Also, if no error handling is in place, RCTJSONStringify will now display a redbox, and attempt to recover by sanitizing the JSON data and retrying. Reviewed By: javache Differential Revision: D2854778 fb-gh-sync-id: 18e6990af0d91083496d6a0b75c31a94ed9454a5 |
||
---|---|---|
.. | ||
RCTFPSGraph.h | ||
RCTFPSGraph.m | ||
RCTJSCProfiler.h | ||
RCTJSCProfiler.m | ||
RCTMacros.h | ||
RCTPerfMonitor.m | ||
RCTProfile.h | ||
RCTProfile.m | ||
RCTProfileTrampoline-arm.S | ||
RCTProfileTrampoline-arm64.S | ||
RCTProfileTrampoline-i386.S | ||
RCTProfileTrampoline-x86_64.S |