pub struct JsonParse {
pub source: Ref,
pub into: Ref,
pub detail: bool,
pub ignoring: Vec<Option<Ref>>,
pub indicating: Vec<(Ref, Flag, Option<Ref>)>,
pub encoding: Option<Encoding>,
pub names: Vec<(Ref, Option<Literal>)>,
pub suppress: Vec<Ref>,
pub converting: Vec<(Ref, ParseConversion)>,
pub on_exception: Option<Vec<Stmt>>,
pub not_on_exception: Option<Vec<Stmt>>,
pub pos: Pos,
}Expand description
JSON PARSE (Language Reference SC27-8713-03, pp. 382-396).
Fields§
§source: Ref§into: Ref§detail: bool§ignoring: Vec<Option<Ref>>IGNORING JSON NULL FOR an item, or None FOR ALL.
indicating: Vec<(Ref, Flag, Option<Ref>)>INDICATING item IS JSON NULL USING values, with IN and the indicator for two literals.
encoding: Option<Encoding>§names: Vec<(Ref, Option<Literal>)>NAME OF item IS literal; None for OMITTED.
suppress: Vec<Ref>§converting: Vec<(Ref, ParseConversion)>§on_exception: Option<Vec<Stmt>>§not_on_exception: Option<Vec<Stmt>>§pos: PosTrait Implementations§
impl Eq for JsonParse
impl StructuralPartialEq for JsonParse
Auto Trait Implementations§
impl Freeze for JsonParse
impl RefUnwindSafe for JsonParse
impl Send for JsonParse
impl Sync for JsonParse
impl Unpin for JsonParse
impl UnsafeUnpin for JsonParse
impl UnwindSafe for JsonParse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more