json5_plus 0.1.4
json5_plus: ^0.1.4 copied to clipboard
A high performance JSON5 parser with type-safe accessors, optional case-insensitive keys, and an "include" capability.
0.1.4 #
- Made
Json5.escapeStringstatic method public for escaping control characters, quotes, and backslashes in JSON/JSON5 strings. - Added
Json5.fromDiffsfactory constructor to construct a newJson5object containing only key-value entries fromjson2that differ from or do not exist injson1. - Added
EDateTimeFormatenum (iso8601,yyyymmddhhmmss) anddateTimeFormatparameter acrossJson5constructors, factories, and parser, with global configuration fieldJson5.defaultDateTimeFormat. - Added
allowBlankStringparameter toJson5.fromStringand static fieldJson5.defaultAllowBlankStringto allow parsing empty/whitespace strings as{}. - Added
sortedKeysparameter and field toJson5constructors, factories, and parser to enforce case-insensitive key sorting. - Added global configuration static fields
Json5.defaultUseJson5ForToStringandJson5.defaultUseSortedKeys. - Added
OrNulltyped accessors (asBoolOrNull,asDateTimeOrNull,asDateTimeUtcOrNull,asDoubleOrNull,asIntOrNull,asJsonOrNull,asStringOrNull, and collection variants) toTypedAccessorMixinandJson5. - Added
OrNulltyped removal methods (removeBoolOrNull,removeDateTimeOrNull,removeDateTimeUtcOrNull,removeDoubleOrNull,removeIntOrNull,removeJsonOrNull,removeStringOrNull, and collection variants) toJson5.
0.1.3 #
- Added typed collection remove methods (
removeBoolList,removeBoolSet,removeDateTimeList,removeDateTimeSet,removeDoubleList,removeDoubleSet,removeDynamicList,removeDynamicSet,removeIntList,removeIntSet,removeJsonList,removeJsonSet,removeStringList,removeStringSet) toJson5.
0.1.2 #
- Added typed scalar remove methods (
removeBool,removeDateTime,removeDateTimeUtc,removeDouble,removeInt,removeString) toJson5.
0.1.1 #
- For read-only Json5 objects always return unmodifiable lists or sets.
0.1.0 #
- Bump the version to 0.1.0.
0.0.5 #
- Added
Setaccessors (e.g.,asStringSet,asIntSet) for typed JSON extraction. - Improved
ListandSetaccessors to gracefully wrap single scalar values into a collection instead of overwriting them. - Improved
ListandSetaccessors to return live, mutable collections for missing keys. These empty collections use an ephemeral key system so they don't bloat the serialized JSON output unless items are actually added to them. - Optimized internal collection parsing and conversion logic.
0.0.4 #
- Add a longer package description in pubspec.yaml.
0.0.3 #
- Fix the CHANGELOG.md instructions.
- Ensure that all test filenames are lowercase.
0.0.2 #
- Fixed folder naming conventions in the test suite to follow Dart snake_case guidelines.
- Updated
win32dependency constraints to support version 6.0.0. - Improved internal file structure for better package scoring.
0.0.1 #
- Initial release of json5_plus.