0 purchases
yet another json isolate
Yet Another Json Isolate #
Dart package for simple JSON parsing using isolates, because the world can never have enough JSON parsers.
Usage #
// initialize an `YAJsonIsolate` instance
final isolate = YAJsonIsolate()..initialize();
// serialize a JSON using an isolate
final requestBody = await isolate.encode(requestObject);
// deserialize a JSON string using an isolate
final json = await isolate.decode(responseBody);
// dispose when no longer needed
isolate.dispose();
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.