Skip to main content

RULE_PAIR

Constant RULE_PAIR 

Source
pub const RULE_PAIR: Rule;
Expand description

Represents a JSON key/value pair inside an object.

Each pair consists of a string key followed by a colon and a value.

Grammar

pair = { string ~ ":" ~ value }

Example

"age": 42