yet_another_json_isolate 2.0.2 copy "yet_another_json_isolate: ^2.0.2" to clipboard
yet_another_json_isolate: ^2.0.2 copied to clipboard

Package to simplify and improve JSON parsing in isolates by keeping one isolate running per instance.

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();
9
likes
160
pub points
84%
popularity

Publisher

verified publishersupabase.io

Package to simplify and improve JSON parsing in isolates by keeping one isolate running per instance.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async

More

Packages that depend on yet_another_json_isolate