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

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

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 str = await isolate.encode(json);
  print(str);
  isolate.dispose();
}
9
likes
160
points
123k
downloads

Publisher

verified publishersupabase.io

Weekly Downloads

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