Skip to content

Releases: serde-rs/json

v1.0.57

26 Jul 18:24
v1.0.57
4354fc3
Compare
Choose a tag to compare
  • Allow serde_json::Deserializer to be instantiated without consuming the serde_json::​de::Read impl (#684)

v1.0.56

29 Jun 16:43
v1.0.56
ae8d93d
Compare
Choose a tag to compare
  • Improve compiler diagnostic on missing commas inside json! macro invocation (rust-lang/rust#73777)

v1.0.55

10 Jun 08:18
v1.0.55
3aae678
Compare
Choose a tag to compare

v1.0.54

09 Jun 19:51
v1.0.54
310c55c
Compare
Choose a tag to compare
  • Add float_roundtrip feature to enable a slower but higher precision float parser based on lexical.

    Enabling float_roundtrip will use sufficient precision when parsing fixed precision floats from JSON to ensure that they maintain accuracy when round-tripped through JSON. This comes at an approximately 2x performance cost for parsing floats compared to the default best-effort precision.

    Unlike arbitrary_precision, the new float_roundtrip feature makes f64 -> JSON -> f64 produce output identical to the input. arbitrary_precision is for making JSON -> serde_json::Number -> JSON produce output identical to the input.

    serde_json = { version = "1.0.54", features = ["float_roundtrip"] }

v1.0.53

10 May 03:29
v1.0.53
5c3711e
Compare
Choose a tag to compare
  • Reduce unhelpful indentation in the {:#?} format of serde_json::Value
  • Remove some unnecessary runtime checks from Serializer::collect_str

v1.0.52

28 Apr 11:11
v1.0.52
9354bec
Compare
Choose a tag to compare

v1.0.51

04 Apr 23:40
v1.0.51
f77c84d
Compare
Choose a tag to compare
  • Terminate StreamDeserializer after errors instead of repeatedly reparsing the same failed input (#647)
  • Add FusedIterator impls for StreamDeserializer and for Map's various iterators

v1.0.50

28 Mar 18:32
v1.0.50
fd6741f
Compare
Choose a tag to compare

v1.0.49

28 Mar 06:20
v1.0.49
50656bd
Compare
Choose a tag to compare
  • Improve error message when neither "std" nor "alloc" feature is enabled (#643)

v1.0.48

13 Feb 05:40
v1.0.48
ed479b4
Compare
Choose a tag to compare
  • Add serde_json::value::Serializer which produces a Value as output (#621, thanks @sdleffler)