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.