github itchyny/gojq v0.12.0
Release v0.12.0

latest releases: v0.12.15, v0.12.14, v0.12.13...
3 years ago
  • implement tab indentation option (--tab)
  • implement a compiler option for adding custom internal functions
  • implement gojq.Marshal function for jq-flavored encoding
  • fix slurp option with JSON file arguments
  • fix escaping characters in object keys
  • fix normalizing negative int64 to int on 32-bit architecture
  • fix crash on continuing iteration after emitting an error
  • iter.Next() does not normalize NaN and infinities anymore. Library users should take care of them. To handle them for encoding as JSON bytes, use gojq.Marshal. Also, iter.Next() does not clone values deeply anymore for performance reason. Users must not update the elements of the returned arrays and objects.
  • improve performance of outputting JSON values by about 3.5 times

Don't miss a new gojq release

NewReleases is sending notifications on new releases.