jshift 0.7.0

Schema-guided typed JSON on raw bytes: path get/mutate, open views, project — without a Value tree.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Nested field type without JsonView must fail at compile time.

use jshift::JsonView;

struct NotAView {
    x: u64,
}

#[derive(JsonView)]
struct Parent {
    #[json(path = "child")]
    child: NotAView,
}

fn main() {}