Expand description
Parses a stream
Notes
- The stream is used as-is.
- You can also use implementation of
TryFrom<Vec<u8>>
forValue
. - To prevent attacks, consider limiting your source via
Read::take()
. - On machines whose pointer width is one of
8
/16
/32
/64
, numbers will be parsed by eitheri64
/u64
/f64
. On other machines, numbers will be parsed byisize
/usize
/f64
. So, even though you can converti128
/u128
intoNumber
and format them into JSON string, but: parsingi128
/u128
is not supported on some machines.