yet_another_json_isolate 3.0.0-dev.2 copy "yet_another_json_isolate: ^3.0.0-dev.2" to clipboard
yet_another_json_isolate: ^3.0.0-dev.2 copied to clipboard

Package for JSON parsing off the main isolate, processing small payloads inline and large payloads on short lived isolates without copying results.

example/yet_another_json_isolate_example.dart

import 'package:yet_another_json_isolate/yet_another_json_isolate.dart';

void main() async {
  final isolate = YAJsonIsolate();

  await isolate.initialize();

  final json = await isolate.decode('{"a": 1, "b": 2}');
  print(json);

  final jsonString = await isolate.encode(json);
  print(jsonString);
  await isolate.dispose();
}
15
likes
160
points
881k
downloads

Documentation

API reference

Publisher

verified publishersupabase.io

Weekly Downloads

Package for JSON parsing off the main isolate, processing small payloads inline and large payloads on short lived isolates without copying results.

Homepage
Repository (GitHub)
View/report issues

Topics

#json #isolate #parsing #async

License

MIT (license)

More

Packages that depend on yet_another_json_isolate