v2.1.1
yet_another_json_isolate
透過為每個實例保持一個隔離執行,簡化並改善隔離中的 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();