13 releases (8 breaking)

0.101.0 Dec 22, 2024
0.100.0 Nov 13, 2024
0.99.1 Oct 20, 2024
0.96.1 Jul 29, 2024

#301 in Parser implementations

Download history 753/week @ 2024-09-24 617/week @ 2024-10-01 606/week @ 2024-10-08 1651/week @ 2024-10-15 862/week @ 2024-10-22 885/week @ 2024-10-29 742/week @ 2024-11-05 1316/week @ 2024-11-12 648/week @ 2024-11-19 704/week @ 2024-11-26 641/week @ 2024-12-03 694/week @ 2024-12-10 888/week @ 2024-12-17 733/week @ 2024-12-24 614/week @ 2024-12-31 565/week @ 2025-01-07

2,889 downloads per month
Used in 13 crates (2 directly)

MIT and maybe CC-PDDC

2MB
45K SLoC

Support for the NUON format.

The NUON format is a superset of JSON designed to fit the feel of Nushell. Some of its extra features are

  • trailing commas are allowed
  • commas are optional in lists
  • quotes are not required around keys or any bare string that do not contain spaces or special characters
  • comments are allowed, though not preserved when using from_nuon

Example

below is some data in the JSON format

{
    "name": "Some One",
    "birth": "1970-01-01",
    "stats": [
      2544729499973429198,
      687051042647753531,
      6702443901704799912
    ]
}

and an equivalent piece of data written in NUON

{
    name: "Some One",       # the name of the person
    birth: "1970-01-01",    # their date of birth
    stats: [                # some dummy "stats" about them
      2544729499973429198,
      687051042647753531,
      6702443901704799912, # note the trailing comma here...
    ], # and here
} # wait, are these comments in a JSON-like document?!?!

Dependencies

~15–45MB
~696K SLoC