pub struct JsonStr(/* private fields */);Expand description
A string containing encoded JSON.
Streaming a JsonStr will embed its contents directly rather
than treating them as a string.
Implementations§
Trait Implementations§
Source§impl Value for JsonStr
impl Value for JsonStr
Source§fn stream<'sval, S: Stream<'sval> + ?Sized>(
&'sval self,
stream: &mut S,
) -> Result
fn stream<'sval, S: Stream<'sval> + ?Sized>( &'sval self, stream: &mut S, ) -> Result
Stream this value through a
Stream.Source§fn to_f32(&self) -> Option<f32>
fn to_f32(&self) -> Option<f32>
Try convert this value into a 32bit binary floating point number.