FLUTTER ECOSYSTEM

supabase-community/json-isolate-dart

supabase-community/json-isolate-dart open-source repository details.

json-isolate-dart 專案封面
Stars
0
Forks
1
最近推送(UTC)
2023年5月13日
專案狀態
已封存
Supabase Community GitHub avatar
GITHUB Organization

Supabase Community ↗

Client libraries and more maintained and supported by the Supabase Community. Rust, Golang, C#, Flutter, Postgres extensions.

語言Dart

此儲存庫發佈的套件

使用的依賴

依賴清單 3 項

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

Yet Another Json Isolate

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.

Usage

// 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();