json_isolate 0.1.0 copy "json_isolate: ^0.1.0" to clipboard
json_isolate: ^0.1.0 copied to clipboard

A helper class that will help you convert your json in the background using an isolate.

json_isolate #

The isolate that will help you convert json in the background. You no longer need to block your main thread to convert a super long json string.

Usage #

var Json = """{"id": 1,"name":"dragon bro"}""";

void main() async{
  var jsonHelper = await JsonIsolate();
  
  Map<String, dynamic> json = await jsonHelper.convert(Json);
  
  print(json['name']);
}

1
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A helper class that will help you convert your json in the background using an isolate.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

isolate

More

Packages that depend on json_isolate