Skip to content

Commit 6fd0ca3

Browse files
committed
1.0.0+1 Updated documentation
1 parent 13335a9 commit 6fd0ca3

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 1.0.0+1
2+
3+
- Updated documentation.
4+
5+
16
## 1.0.0
27

38
- Initial version.

lib/src/isolate_json.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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();

lib/src/norm_json.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: isolate_json
22
description: Library for using a long-lived isolate for JSON encoding and decoding.
3-
version: 1.0.0
3+
version: 1.0.0+1
44
homepage: https://github.com/chmoore889/isolate_json
55

66
environment:

0 commit comments

Comments
 (0)