isolate_json 1.0.0 copy "isolate_json: ^1.0.0" to clipboard
isolate_json: ^1.0.0 copied to clipboard

outdated

Library for using a long-lived isolate for JSON encoding and decoding.

example/isolate_json_example.dart

import 'package:isolate_json/isolate_json.dart';

Future<void> main() async {
  String json;
  final output1 = await JsonIsolate().decodeJson(json);

  final output2 = await JsonIsolate().encodeJson({
    'jsonData': true,
  });

  final output3 = await JsonIsolate().encodeJson([1, 2, 3]);

  print(output1);
  print(output2);
  print(output3);
}
11
likes
0
pub points
70%
popularity

Publisher

unverified uploader

Library for using a long-lived isolate for JSON encoding and decoding.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on isolate_json