gg_json
gg_json offers a bunch of JSON helpers used in various context.
4.1.0
8.9K downloads/mo
#3076 most downloaded on pub.dev
inlavigo/gg_json
What this package is like to depend on
Last release 10 days ago
13 Aug 2026
Ships unpredictably
gaps range from 2 weeks to 1.2 years
Most releases are documented
notes for 26 of 37 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
37 releases · first in 2024
27 releases in the last 12 months
see the full history below
Release timeline
37 releases · Mar 2024 to Aug 2026Releases
latest 37-
4.1.013 Aug 2026Release notes
Open source →Fixed
- Cleanup copy right headers. Update to dart 3.13. Auto fixes.
- Cleanup copy right headers. Update to dart 3.13. Auto fixes. Setup quick-check pipeline.
-
4.0.106 Jul 2026Nothing published for this version
-
4.0.005 Jul 2026Release notes
Open source →Breaking changes
VisitPropuses positional parameters now: migratejson.visit(({key, value, parent, ancestors}) {...})tojson.visit((key, value, parent, ancestors) {...})visit'sancestorsargument is a live, read-only view that is only valid during the callback; copy it withList.of(ancestors)if you retain it- Path strings are validated eagerly when first compiled: an invalid segment
anywhere in a path throws
Invalid path segment ...even if the walk would previously have failed earlier with a missing-path error or returned null
Changed
- Major performance rewrite across the whole package
set/get/getOrNull/removeValue: paths are compiled once and cached per isolate; traversal is a tight, allocation-free loop (2.6–4.5x faster)visit: the quadratic per-node ancestors allocation is gone; one reused ancestor stack per traversal (26x faster at depth 1000, ~400x at depth 5000)ls: shared path buffer instead of per-node string interpolation (~3x faster)deepCopy: bulk map cloning with nested patching (~2x faster)deeplEquals: lockstep iteration without per-entry allocation (~20% faster)- Added
JsonPathSegmentandcompileJsonPathfor pre-compiled paths - Added a benchmark suite under
benchmark/ - BREAKING CHANGE: Performance optimization by claude
-
3.2.005 Jul 2026 -
3.1.120 May 2026 -
3.1.020 May 2026 -
3.0.2007 Mar 2026 -
3.0.1906 Mar 2026 -
3.0.1806 Mar 2026 -
3.0.1706 Mar 2026 -
3.0.1606 Mar 2026 -
3.0.1506 Mar 2026 -
3.0.1403 Mar 2026 -
3.0.1303 Mar 2026 -
3.0.1223 Feb 2026 -
3.0.1123 Feb 2026 -
3.0.1019 Feb 2026 -
3.0.919 Feb 2026 -
3.0.819 Feb 2026 -
3.0.704 Feb 2026Release notes
Open source →Changed
- kidney: changed references to git
Removed
- Remove possibility to use . as separator. Add leading ./ to paths
-
3.0.602 Feb 2026 -
3.0.530 Jan 2026Release notes
Open source →Changed
- Print paths when wrong path is given
- Print all paths when a path is not found
-
3.0.430 Jan 2026Release notes
Open source →Added
- Add isValidJsonKey
- Add ls() methods, add DirectJson()
- Add array manipulation methods
Changed
- Split DirectJson into various other methods
-
3.0.329 Jan 2026 -
3.0.229 Jan 2026 -
3.0.129 Jan 2026 -
3.0.029 Jan 2026Release notes
Open source →Added
- Start new implementation of the package
- Add
DeepCopy(json) - Add deepCopy, deepEquals and isJson and json
-
2.0.228 Nov 2024Nothing published for this version
-
2.0.127 Nov 2024Nothing published for this version
-
2.0.027 Nov 2024Nothing published for this version
-
1.0.613 Apr 2024Nothing published for this version
-
1.0.511 Apr 2024Nothing published for this version
-
1.0.409 Apr 2024Nothing published for this version
-
1.0.309 Apr 2024Nothing published for this version
-
1.0.202 Apr 2024Nothing published for this version
-
1.0.101 Apr 2024Nothing published for this version
-
1.0.028 Mar 2024Nothing published for this version