File tree Expand file tree Collapse file tree 4 files changed +12
-7
lines changed
Expand file tree Collapse file tree 4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 1+ ## 1.0.0+1
2+
3+ - Updated documentation.
4+
5+
16## 1.0.0
27
38- Initial version.
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class JsonIsolate {
1414 return _singleton;
1515 }
1616
17- /// Decodes a JSON with an isolate .
17+ /// Decodes a JSON.
1818 Future <dynamic > decodeJson (String json) async {
1919 if (_isolate == null ) {
2020 await _makeIsolate ();
@@ -23,7 +23,7 @@ class JsonIsolate {
2323 return _sendReceive (_sendPort, json, _JsonAction .decode);
2424 }
2525
26- /// Encodes a JSON with an isolate .
26+ /// Encodes a JSON.
2727 Future <dynamic > encodeJson (dynamic toEncode) async {
2828 if (_isolate == null ) {
2929 await _makeIsolate ();
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ class JsonIsolate {
1010 return _singleton;
1111 }
1212
13- /// Decodes a JSON without an isolate .
13+ /// Decodes a JSON.
1414 ///
15- /// Intended only when using the package on web.
15+ /// Decodes without an isolate only when using the package on web.
1616 Future <dynamic > decodeJson (String json) async {
1717 return jsonDecode (json);
1818 }
1919
20- /// Decodes a JSON without an isolate .
20+ /// Encodes a JSON.
2121 ///
22- /// Intended only when using the package on web.
22+ /// Encodes without an isolate only when using the package on web.
2323 Future <dynamic > encodeJson (dynamic toEncode) async {
2424 return jsonEncode (toEncode);
2525 }
Original file line number Diff line number Diff line change 11name : isolate_json
22description : Library for using a long-lived isolate for JSON encoding and decoding.
3- version : 1.0.0
3+ version : 1.0.0+1
44homepage : https://github.com/chmoore889/isolate_json
55
66environment :
You can’t perform that action at this time.
0 commit comments