nice_json 1.2.0
nice_json: ^1.2.0 copied to clipboard
A nice way to encode nice maps into nice-looking, human-readable json.
1.2.0 #
- Bumped Dart SDK to 3.13.7, updated dependencies, lints.
- Fixed strings not being escaped correctly.
- Non-finite numbers (
NaN,Infinity,-Infinity) now throw, matchingjsonEncode. - Non-string map keys now throw, matching
jsonEncode(noMap<int, dynamic>, for example).
1.1.2 #
- Relaxed the parameter type of the top level
niceJsonfunction fromMap<String, dynamic>to justMap.
1.1.1 #
- Enums will now be encoded with
Enum.name.
1.1.0 #
- Nested expansion keys. Specify keys for
alwaysExpandKeysin dot notation, likex.y.- Breaking: if you previously had an expansion key
'z', it would matchz,x.zorx.y.z, but now it will not. Use'*.z'to matchx.zand'**.z'to match all of the above.
- Breaking: if you previously had an expansion key
1.0.0 #
- Initial version.