sonic_rs/lazyvalue/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//! A lazy type to representing a unparsed raw JSON text for lazy operators.

mod get;
mod iterator;
mod owned;
mod value;

#[doc(inline)]
pub use self::{
    get::{
        get, get_from_bytes, get_from_bytes_unchecked, get_from_faststr,
        get_from_faststr_unchecked, get_from_slice, get_from_slice_unchecked, get_from_str,
        get_from_str_unchecked, get_many, get_many_unchecked, get_unchecked,
    },
    iterator::{
        to_array_iter, to_array_iter_unchecked, to_object_iter, to_object_iter_unchecked,
        ArrayJsonIter, ObjectJsonIter,
    },
    owned::OwnedLazyValue,
    value::LazyValue,
};

pub(crate) mod de;
pub(crate) mod ser;
pub(crate) const TOKEN: &str = "$sonic_rs::LazyValue";