pub type JsonComponent = Component<Value>;Aliased Type§
pub enum JsonComponent {
Text(String),
Sequence(ComponentSequence<Value>),
Object(Box<ComponentObject<Value>>),
}Variants§
Text(String)
The string shorthand for a plain-text component.
Sequence(ComponentSequence<Value>)
The non-empty list shorthand.
Object(Box<ComponentObject<Value>>)
A full component object.