zikzak_json 0.2.3 copy "zikzak_json: ^0.2.3" to clipboard
zikzak_json: ^0.2.3 copied to clipboard

A best-effort JSON parser using simdjson_dart for speed and json5_plus for flexibility.

0.2.3 #

  • extractJson no longer throws on undecodable strings — a bare token, ID, or page fragment (neither JSON nor JSON5) now yields null instead of the engines' FormatException. Extraction is best-effort by contract; decode keeps throwing for callers that want strictness.
  • Raised dependency floors — json5_plus ^0.1.8, simdjson_dart ^1.6.1 (both already allowed by the previous caret ranges; now required).

0.2.2 #

  • Pinned json_path_plus to ^1.1.0 — ensures consumers get the latest fixes (reverse slices, backtick properties, !@ negation).

0.2.1 #

  • Updated json_path_plus to ^1.1.0 — picks up the 1.1.0 fixes (reverse slices, backtick properties, !@ negation, typeof null). Zero new dependencies.

0.2.0 #

  • JSONPath now uses json_path_plus — replaces the old json_path 0.9.0 dependency with the in-house json_path_plus: ^1.0.0. This brings native @property, @.indexOf(), ===, type operators, and zero transitive dependencies. No custom function registration needed for filter expressions.
  • Updated simdjson_dart to ^1.1.0 — picks up the latest performance improvements and fixes from the upstream PR.
  • Removed vendored json_path_plus source in favor of the published pub.dev package.

0.1.0 #

  • Initial release.
  • Dual-engine JSON parser: simdjson for speed, json5_plus for flexibility.
  • Automatic fallback: standard JSON goes through simdjson; JSON5 with comments, unquoted keys, or trailing commas falls back to json5_plus.
  • Fast-path heuristic detects JSON5 features early to avoid predictable simdjson failures.
  • Recursive toRaw() conversion strips Json5 wrapper objects into pure Dart Map/List types.
  • encode(), extractJson(), typed convenience methods (decodeMap, decodeList, decodeString), and detection helpers (isJson, isJson5).
  • Dot-notation path extraction via get() for safe nested access.
0
likes
150
points
88
downloads

Documentation

Documentation
API reference

Publisher

verified publisherzuraffa.com

Weekly Downloads

A best-effort JSON parser using simdjson_dart for speed and json5_plus for flexibility.

Homepage
Repository (GitHub)
View/report issues

Funding

Consider supporting this project:

github.com

License

Apache-2.0 (license)

Dependencies

json5_plus, json_path_plus, simdjson_dart

More

Packages that depend on zikzak_json