[][src]Module json_spanned_value::spanned

Spanned and aliases thereof - spanned::{Value, Null, Bool, Num[ber], Str[ing], Obj[ect], Span, Array}

Structs

Spanned

A value with start/end position information. Can wrap arbitrary Deserializeable JSON values, not just basic JSON types.

Type Definitions

Array

Owned array like [1,2,3] + span information

Bool

true or false + span information

Null

null + span information

Num

Borrowed number like 123 + span information

Number

Owned number like 123 + span information

Obj

Borrowed object like {"a":1, "b":2} + span information

Object

Owned object like {"a":1, "b":2} + span information

Span

Borrowed array like [1,2,3] + span information

Str

Borrowed string like "abc" + span information

String

Owned string like "abc" + span information

Value

Owned, arbitrary json value + span information