|
| 1 | +## 0.8.0 |
| 2 | + |
| 3 | +- feat: values without decimal point or exponent should be `int` type |
| 4 | + |
1 | 5 | ## 0.7.0 |
| 6 | + |
2 | 7 | - feat: toEncodable parameter |
3 | 8 | - feat: toDecodable is default to `toMap()` then `toJson()` then `toString()` |
| 9 | + |
4 | 10 | ```dart |
5 | 11 | json5Encode(obj, toEncodable: (v) => v.toMap()) |
6 | 12 | ``` |
| 13 | + |
7 | 14 | ## 0.6.1 |
| 15 | + |
8 | 16 | - feat: serialize iterable objects |
9 | 17 | - fix: JSON.stringify return non-null String |
10 | 18 | - fix: indentication can be number and string |
11 | 19 |
|
12 | 20 | ## 0.6.0 |
| 21 | + |
13 | 22 | - Migrating to null safety |
14 | 23 |
|
15 | 24 | ## 0.5.5 |
| 25 | + |
16 | 26 | - hotfix: dart not support '\0' escape |
17 | 27 |
|
18 | 28 | ## 0.5.4 |
| 29 | + |
19 | 30 | - Fix: RangeError when stringify a string with ending '\0' |
20 | 31 |
|
21 | 32 | ## 0.5.3 |
22 | | -- fix: json5Decode() should return Map<String, dynamic> instead of Map<dynamic, dynamic> |
| 33 | + |
| 34 | +- fix: json5Decode() should return Map<String, dynamic> instead of Map<dynamic, dynamic> |
23 | 35 |
|
24 | 36 | ## 0.5.2 |
| 37 | + |
25 | 38 | - support runtime-js, flutter web |
26 | 39 |
|
27 | 40 | ## 0.5.1 |
28 | | -- fix: cannot stringify object if their keys are not string . |
| 41 | + |
| 42 | +- fix: cannot stringify object if their keys are not string . |
29 | 43 |
|
30 | 44 | ## 0.5.0 |
| 45 | + |
31 | 46 | - supports Map, List, null, num, bool, String |
32 | | -- `JSON5.parse( aString );` |
| 47 | +- `JSON5.parse( aString );` |
33 | 48 | - `JSON5.stringify( anObj )` |
34 | 49 | - `JSON5.stringify( abObj, space:2 )` |
35 | | -- `json5Decode( aString );` |
| 50 | +- `json5Decode( aString );` |
36 | 51 | - `json5Encode( anObj )` |
37 | | -- `json5Encode( abObj, space:2 )` |
| 52 | +- `json5Encode( abObj, space:2 )` |
0 commit comments