hiltontj / serde_json_path

Query serde_json Values with JSONPath
https://serdejsonpath.live/
MIT License
51 stars 4 forks source link

`NodeList` serialization is incorrect #29

Closed hiltontj closed 1 year ago

hiltontj commented 1 year ago

The NodeList type is deriving Serialize, which leads to serialized representations like so:

{
  "nodes": [...]
}

instead of just,

[...]

The correct form is the latter.