Enum jsonc_parser::ast::Value [−][src]
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>)
Tuple Fields
0: StringLit<'a>
NumberLit(NumberLit<'a>)
Tuple Fields
0: NumberLit<'a>
BooleanLit(BooleanLit)
Tuple Fields
0: BooleanLit
Object(Object<'a>)
Tuple Fields
0: Object<'a>
Array(Array<'a>)
Tuple Fields
0: Array<'a>
NullKeyword(NullKeyword)
Tuple Fields
0: NullKeyword
Trait Implementations
Gets the line number of the start position in the text.
Gets the start byte 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