v2.1.1
yet_another_json_isolate
インスタンスごとに1つのイソレートを実行し続けることで、イソレート内のJSONパースを簡素化および改善するパッケージ。
15いいね 107万30日間ダウンロード140Pub ポイント
AndroidiOSWebmacOSWindowsLinux
supabase-community/json-isolate-dart open-source repository details.
以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
Warning This repository has been moved to the supabase-flutter repo.
Dart package for simple JSON parsing using isolates, because the world can never have enough JSON parsers.
// 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();