JQ Lang Rust

Implements the jq syntax in Rust, providing an abstract syntax tree.

Language

Identity

The simplest filter is .. It consumes JSON and produces the same output, unchanged.

. produces the following AST:

Program | | Identity

Usage

Use it like this in your program:

```rust use jqlang::toast; use jqlang::nodetype::NodeType;

let ast = toast(".").unwrap(); asserteq!(ast.node_type, NodeType::Program); ```

License

MIT