chanced / jsonptr

JSON Pointer (RFC 6901) implementation for Rust
Apache License 2.0
43 stars 4 forks source link

Add `query!`macro and accompanying `Query` type #10

Closed chanced closed 1 year ago

chanced commented 1 year ago
pub trait Query {
    pub fn query(q: Q);
}
pub struct Q { /* .. */ }
macro_rules! query { /* .. */ }
impl Query for serde_json::Value { /* .. */ }