Skip to content

Releases: draxil/json2nd

Fix small bug

19 Feb 11:24
6dbf323

Choose a tag to compare

Fix a bug re: escaped \ at the end of strings.

Fix builds for 0.5.0

04 Apr 15:14

Choose a tag to compare

Builds didn't work for 0.5.0, this point release fixes that.

Option to preserve arrays

04 Apr 14:05

Choose a tag to compare

Added an option to preserve arrays.

By default an incoming array will be translated into a stream of objects. This is the original usecase of this tool! But perhaps you have a stream of json that you want to come out as ndjson, and that might include some arrays? That's where -preserve-array could be useful!

Also, the last binary release was many go versions ago, so lots of go improvement for anyone using binary releases.

JSON stream support

26 Nov 17:34
e60e69f

Choose a tag to compare

Main focus has been to expand from just the use-case of accepting a single JSON document, and unpacking arrays to NDJSONifying JSON streams in general. So a stream of objects will usually just be converted to NDJSON. Also because the default is to unpack an array we now have an option that says you don't want that which allows you to preserve arrays -preseve-array.

Aside from that small improvements, like a friendlier error message in some circumstances.

Full Changelog: v0.3.2...v0.4.0

v0.3.2 - Faster key scanning

07 Aug 10:21

Choose a tag to compare

  • Faster at finding keys in objects (for -path).
  • Improved (non array) EOF error.
  • Improved version reporting for go tool builds.

v0.3.1 version reporting

02 Aug 07:29

Choose a tag to compare

You can now ask json2nd what version it is:

json2nd -version

Although at present you only get a useful response from the github builds.

v0.3.0 minor improvements

31 Jul 11:49

Choose a tag to compare

  • buffered output for some very slight performance improvement (in some circumstances).
  • fix: output status 0 on failure.

v0.2.0 - incremental progress!

25 Jul 16:39

Choose a tag to compare

  • Added detection of objects that don't finish before the end of a file.
  • internal improvements and more testcases.

v.0.1.0 - it basically works!

24 Jul 13:53
c3c8868

Choose a tag to compare

Basic functionality works.