Update Rust crate serde_json to 1.0.116 - autoclosed #120
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1
->1.0.116
Release Notes
serde-rs/json (serde_json)
v1.0.116
Compare Source
v1.0.115
Compare Source
v1.0.114
Compare Source
v1.0.113
Compare Source
swap_remove
andshift_remove
methods on Map (#1109)v1.0.112
Compare Source
v1.0.111
Compare Source
v1.0.110
Compare Source
v1.0.109
Compare Source
v1.0.108
Compare Source
v1.0.107
Compare Source
v1.0.106
Compare Source
Value::as_number
accessor (#1069, thanks @chanced)Number::as_str
accessor under "arbitrary_precision" feature (#1067, thanks @chanced)v1.0.105
Compare Source
v1.0.104
Compare Source
v1.0.103
Compare Source
v1.0.102
Compare Source
v1.0.101
Compare Source
v1.0.100
Compare Source
-Z minimal-versions
v1.0.99
Compare Source
v1.0.98
Compare Source
v1.0.97
Compare Source
io_error_kind()
method to serde_json::Error:fn io_error_kind(&self) -> Option<std::io::ErrorKind>
(#1026)v1.0.96
Compare Source
to_writer
only writes valid UTF-8 strings (#1011, thanks @stepancheg)v1.0.95
Compare Source
v1.0.94
Compare Source
Display
andsource()
(#991, #992)v1.0.93
Compare Source
v1.0.92
Compare Source
v1.0.91
Compare Source
-Zrustdoc-scrape-examples
on docs.rs for nowv1.0.90
Compare Source
v1.0.89
Compare Source
v1.0.88
Compare Source
append
andclone_from
(#952, thanks @Lucretiel)v1.0.87
Compare Source
write_i128
andwrite_u128
methods toserde_json::Formatter
to control the formatting of 128-bit integers (#940, thanks @Lucretiel)v1.0.86
Compare Source
arbitrary_precision
feature even in no-std mode (#928, thanks @kvinwang)v1.0.85
Compare Source
Display
forNumber
produce the same representation as serializing (#919)v1.0.84
Compare Source
Debug
impl ofserde_json::Value
more compact (#918)v1.0.83
Compare Source
v1.0.82
Compare Source
From<Option<T>>
for serde_json::Value whereT: Into<Value>
(#900, thanks @kvnvelasco)v1.0.81
Compare Source
indexmap
/autocfg
not always properly detecting whether astd
sysroot crate is available (#885, thanks @cuviper)v1.0.80
Compare Source
v1.0.79
Compare Source
RawValue
deserialization to propagate\u
escapes for unmatched surrogates, which can later by deserialized to Vec<u8> (#830, thanks @lucacasonato)v1.0.78
Compare Source
&RawValue
in map key position, which would previously fail with "invalid type: newtype struct" (#851)v1.0.77
Compare Source
std
noralloc
feature enabledv1.0.76
Compare Source
raw_value
andalloc
are enabled whilestd
is disabled (#850)v1.0.75
Compare Source
v1.0.74
Compare Source
v1.0.73
Compare Source
itoa
dependency to 1.0v1.0.72
Compare Source
\u
-encoded lone surrogates when deserializing into a byte string (#828, #829, thanks @lucacasonato)v1.0.71
Compare Source
v1.0.70
Compare Source
serde_json::Map::retain
method (#822, thanks @deankarn)v1.0.69
Compare Source
v1.0.68
Compare Source
-0
when deserializing to f32 or f64 (#799, #801)v1.0.67
Compare Source
v1.0.66
Compare Source
v1.0.65
Compare Source
v1.0.64
Compare Source
RawValue
from a slice containing non-utf8 bytes (#755)v1.0.63
Compare Source
Entry::and_modify
method on serde_json::map::Entry (#754, thanks @Krout0n)v1.0.62
Compare Source
v1.0.61
Compare Source
impl From<Number> for Value
(#737, thanks @imp)v1.0.60
Compare Source
impl FromIterator<(impl Into<String>, impl Into<Value>)> for Value
, which collects a Value::Object (#733, thanks @matklad)v1.0.59
Compare Source
v1.0.58
Compare Source
v1.0.57
Compare Source
v1.0.56
Compare Source
json!
macro invocation (https://github.com/rust-lang/rust/issues/73777)v1.0.55
Compare Source
float_roundtrip
(https://github.com/serde-rs/json/releases/tag/v1.0.54)v1.0.54
Compare Source
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 newfloat_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.v1.0.53
Compare Source
v1.0.52
Compare Source
v1.0.51
Compare Source
v1.0.50
Compare Source
v1.0.49
Compare Source
v1.0.48
Compare Source
serde_json::value::Serializer
which produces aValue
as output (#621, thanks @sdleffler)v1.0.47
Compare Source
v1.0.46
Compare Source
v1.0.45
Compare Source
Add no-std support (#606, thanks @Xanewok)
v1.0.44
Compare Source
HashMap<String, Value>
(#591)v1.0.43
Compare Source
v1.0.42
Compare Source
impl From<()> for Value
which produces Value::Null (#585, thanks @Nilix007)v1.0.41
Compare Source
v1.0.40
Compare Source
v1.0.39
Compare Source
v1.0.38
Compare Source
Deserializer::disable_recursion_limit
guarded by an"unbounded_depth"
Cargo cfg; this allows parsing arbitrarily deep JSON structures without any consideration for overflowing the stack; see documentation in the link for how to do this safely (#509)v1.0.37
Compare Source
Work around a compounding error message bug when using serde_json in combination with erased-serde (https://github.com/dtolnay/erased-serde/issues/21) that resulted in error messages like:
v1.0.36
Compare Source
v1.0.35
Compare Source
v1.0.34
Compare Source
"arbitrary_precision"
feature is enabled (#506, thanks @koushiro)v1.0.33
Compare Source
&Value
(#503)v1.0.32
Compare Source
E-2147483647
in debug mode (#492)v1.0.31
Compare Source
v1.0.30
Compare Source
IgnoredAny
andRawValue
without recursion (#486)v1.0.29
Compare Source
RawValue
type which represents a contiguous range of bytes in the input corresponding to one JSON value without parsing that value into any particular data structure (#355)v1.0.28
Compare Source
v1.0.27
Compare Source
v1.0.26
Compare Source
dtoa
toryu
crate for 60% higher throughput serializing floating point data (#472, benchmark)v1.0.25
Compare Source
Support 2018-style import of
json!
macro (#458)v1.0.24
Compare Source
json!
macro compatible with using thedeny(unused_results)
lint (#461)v1.0.23
Compare Source
(yanked)
v1.0.22
Compare Source
null
(#454)v1.0.21
Compare Source
v1.0.20
Compare Source
indexmap
as the implementation of the"preserver_order"
feature, aslinked-hash-map
is no longer maintained (#451, thanks @lnicola)v1.0.19
Compare Source
v1.0.18
Compare Source
v1.0.17
Compare Source
serde_json::Value
equality whether or not"preserve_order"
feature is enabled (#438, thanks @Diggsey)v1.0.16
Compare Source
values_mut()
iterator for serde_json::Map (#437)v1.0.15
Compare Source
serde_json::from_value
consistent withserde_json::from_str
v1.0.14
Compare Source
v1.0.13
Compare Source
arbitrary_precision
feature which allows the serialization and deserialization of serde_json::Number to operate on data of arbitrary size/precision, rather than just fixed-width primitive integer and floating point types (#416, thanks @alexreg)v1.0.12
Compare Source
(dependency bump only)
v1.0.11
Compare Source
Value::take
similar to the method of the same name onOption
(#421, thanks @dmizuk)v1.0.10
Compare Source
v1.0.9
Compare Source
v1.0.8
Compare Source
derive(Deserialize)
generated code using JSON; see Improve compile time and executable size by counting lines of LLVM IRfalse
(#392, thanks @bouk)Compatibility notes
Part of the improvement to compile time comes from having generic methods in serde_json instantiate many fewer Visitor trait methods than they used to. For example if a Deserialize impl is being deserialized from JSON and the impl indicates to Serde that the type u64 is expected, serde_json can avoid instantiating all of the Visitor methods that deal with string, borrowed string, unit, sequence, map, boolean, char, bytes, borrowed bytes, option, newtype, and enum. Previously all of these methods were instantiated and compile times were predictably poor in consequence. As of this release, serde_json instantiates only the expected Visitor methods and instead renders invalid_type error messages in a central place in the Deserializer that can be instantiated just once. This does not apply to deserialize_any for which it continues to be necessary to instantiate every Visitor method.
This does mean that code relying on the deserialize hint to be wrong may no longer deserialize successfully.
v1.0.7
Compare Source
v1.0.6
Compare Source
v1.0.5
Compare Source
v1.0.4
Compare Source
v1.0.3
Compare Source
v1.0.2
Compare Source
v1.0.1
Compare Source
Fix deserialization of maps with non-string keys (#311)
For example
{"1":"one"}
can be serialized and deserialized asBTreeMap<i32, String>
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.