Skip to content

Releases: serde-rs/json

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)

v1.0.47

07 Feb 19:44
v1.0.47
6b5ded9
Compare
Choose a tag to compare
  • Raise serde requirement to 1.0.100+ for the necessary no-std traits (#617, thanks @Xanewok)

v1.0.46

02 Feb 20:48
v1.0.46
39ed887
Compare
Choose a tag to compare
  • Serialize JSON map entries using serialize_entry instead of serialize_key + serialize_value to support transcoding to XML (#614, thanks @jmfiaschi)