Skip to content

Commit

Permalink
document the preserve array switch in json scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
draxil authored Nov 26, 2022
1 parent 2aaafe6 commit e60e69f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions doc/other_usage.org
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,8 @@ pretty printed so won't actually work as NDJSON.

One caveat at this time is that if you hit an array json2nd will
error, because it's default behaviour with respect to arrays conflicts
with what's expected here. *Probably* the future here is it will
preserve the array, when the first thing it sees is not an array, and
we can have a flag for this as well. But not yet.
with what's expected here. If you are expecting a JSON stream that may
contain arrays you probably want to use the ~-preserve-array~ switch.

* A cheap value finder

Expand Down

0 comments on commit e60e69f

Please sign in to comment.