In Python,
true is True and null is None. In Rust, the same queries are typed structs (Filter, TraceQuery, AggregateQuery, …) with the same field names in snake_case; their JSON shape is the one in these pages. The full API of each package: Node and Python (Rust: /libraries/rust).