Enum jsonc_parser::ast::Value
source · [−]pub enum Value<'a> {
StringLit(StringLit<'a>),
NumberLit(NumberLit<'a>),
BooleanLit(BooleanLit),
Object(Object<'a>),
Array(Array<'a>),
NullKeyword(NullKeyword),
}
Expand description
JSON value.
Variants
StringLit(StringLit<'a>)
NumberLit(NumberLit<'a>)
BooleanLit(BooleanLit)
Object(Object<'a>)
Array(Array<'a>)
NullKeyword(NullKeyword)
Trait Implementations
Gets the line number of the start position in the text.
Gets the start position.
Gets the end byte position.
Auto Trait Implementations
impl<'a> RefUnwindSafe for Value<'a>
impl<'a> UnwindSafe for Value<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more