PackageTrack
Sign in Get early access

jsontool

Low-level tools for working with JSON without creating intermediate objects.

2.1.0 5.3K downloads/mo #3770 most downloaded on pub.dev lrhn/json-tool

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships on a steady schedule

a new release about every 1.2 years

Nearly every release is documented

notes for 8 of 8 stable releases

Nothing withdrawn

no release was ever pulled

7 years old

8 releases · first in 2020

0 releases in the last 12 months

see the full history below

Release timeline

8 releases · Feb 2020 to Apr 2024
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 8
  1. 2.1.0 28 Apr 2024
    Release notes

    Add index-returning string match methods to JSON-reader.

    Open source →
    Release notes
    • Adds expectStringIndex, tryStringIndex, and tryKeyIndex to JsonReader. Allows matching a string in a list, like the non-Index` operations, but returns in the position in the list instead of the string at that position.
    • Adds JsonReader.fail which returns a FormatException at the current position in the reader, with a user provided error message.
    Open source →
  2. 2.0.0 22 Apr 2024
    Release notes

    Update to new language version (3.0+) and lints.

    Add class modifiers on classes. Most final.

    Change return type of some void methods to Null,
    to allow chaining them after, for example, tryString() ??,
    as a default fallback.

    Optimize whitespace skipping.

    Make ByteReader and StringReader sources more in sync.

    Open source →
    Release notes
    • Require SDK 3.3.0+.

    • Adds class modifiers.

    • Update lints.

    • Change some void return types to Null in JsonReader This allows uses like reader.tryString() ?? reader.expectNull() to match a string or null.

    • Adds processObjectEntry method to JsonProcessor, called for each object entry.

    • Use table to improve parsing speed for skipAnyValue.

    • Faster whitespace skipping in readers.

    Open source →
  3. 1.2.0 11 Sep 2023
    Release notes

    Accept Dart 3.0 SDK, tweaks in byte_writer.

    Open source →
    Release notes
    • Allow SDK 3.0.0+.
    • Tweak ByteWriter implementation.
    Open source →
  4. 1.1.2 15 Jun 2022
    Release notes
    • Optimizes to avoid or cheapen as casts where possible. Uses as dynamic with a context type where a cast cannot be avoided, for better dart2js performance.
    Open source →
  5. 1.1.1 09 Jun 2022
    Release notes
    • Populate the pubspec's repository field.
    • Use package:lints for linting.
    • Adds processObjectEntry to JsonProcessor.
    Open source →
  6. 1.1.0 29 Apr 2021
    Release notes
    • Null safe.
    • Adds JsonWriter for JSON sinks which generate JSON-like structures. Allows injecting "source" (of a matching format) directly into the structure.
    • Adds JsonProcessor. Like a JsonSink but gets the JsonReader so it can process the values itself instead of getting the processed value.
    • Adds JsonReader.hasNextKey and some methods on StringSlice.
    Open source →
  7. 1.0.1 11 Feb 2020
    Release notes
    • Add CHANGELOG.md.
    Open source →
  8. 1.0.0 06 Feb 2020
    Release notes
    • Initial Release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive