Data Json
json::Json
Traits
∈ Display
∈ ToString
∈ TryToBool
∈ TryToF64
∈ TryToI64
∈ TryToString
∈ TryToU64
JSON data.
Json
data type contains any valid json value.
ℹ️ The traits ToString
and TryToString
have different behavior for conversion:
ToString
, as infaillible, will give the literal JSON object string;TryToString
, as faillible, will give the internal string if JSON object is only a string, and none in the other cases.