Skip to main content

bounded_value

Function bounded_value 

Source
pub fn bounded_value(v: &Value) -> (Value, bool)
Expand description

§3.2.5’s exhaustive two-form rule for arguments: the parsed value when its serialization fits the frame bound, else the longest character-boundary prefix that fits, as a string — never a partially serialized object. Returns (arguments, truncated).