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

#319 in Parser implementations

Download history 1345/week @ 2024-09-18 710/week @ 2024-09-25 632/week @ 2024-10-02 695/week @ 2024-10-09 1620/week @ 2024-10-16 800/week @ 2024-10-23 923/week @ 2024-10-30 690/week @ 2024-11-06 1324/week @ 2024-11-13 630/week @ 2024-11-20 724/week @ 2024-11-27 664/week @ 2024-12-04 641/week @ 2024-12-11 952/week @ 2024-12-18 647/week @ 2024-12-25 679/week @ 2025-01-01

3,045 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
~695K SLoC