safeJSONStringify function
Provides a cross-browser and cross-platform way to safely stringify objects into JSON. This is particularly necessary for ReactNative, where circular JSON structures throw an exception.
Implementation
@JS()
external String safeJSONStringify(dynamic source);