pasubot_json_isolate 0.0.1 copy "pasubot_json_isolate: ^0.0.1" to clipboard
pasubot_json_isolate: ^0.0.1 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();
0
likes
140
points
35
downloads

Publisher

unverified uploader

Weekly Downloads

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

Documentation

API reference

License

MIT (license)

Dependencies

async

More

Packages that depend on pasubot_json_isolate