657 Commits

Author SHA1 Message Date
David Tolnay
52f2f773fa
Reduce visibility of parse_any_signed_number 2018-04-20 23:23:22 -07:00
David Tolnay
18d4146248
Merge pull request #437 from serde-rs/mut
Add values_mut() iterator for serde_json::Map
2018-04-20 23:07:46 -07:00
David Tolnay
ea99b8d919
Merge pull request #436 from serde-rs/num
Drop num-traits dependency
2018-04-20 22:58:53 -07:00
David Tolnay
24f5b95c41
Add values_mut() iterator for serde_json::Map 2018-04-20 22:55:43 -07:00
David Tolnay
49919087e8
Drop num-traits dependency
We do not require a crate to convert u64 to i64. Serde dropped
its num dependency a long time ago.
2018-04-20 22:47:41 -07:00
David Tolnay
7bcb7c7621
Relase 1.0.15 v1.0.15 2018-04-17 11:35:06 -07:00
David Tolnay
ee196dfbab
Fix non-reference pattern for old compilers 2018-04-17 00:29:12 -07:00
David Tolnay
1a9d024e5f
Format with rustfmt 0.4.2 2018-04-17 00:19:50 -07:00
David Tolnay
a66a00b0f6
Struct deserialization from array Value 2018-04-16 22:36:49 -07:00
David Tolnay
aab9ebf788
Implement all &Value deserializer hints 2018-04-16 22:19:21 -07:00
David Tolnay
4357f26801
Implement all Value deserializer hints
This makes the behavior of serde_json::from_value consistent with
serde_json::from_str when dealing with the same Deserialize impls.
2018-04-16 22:18:05 -07:00
David Tolnay
aeed62d5bd
Release 1.0.14 v1.0.14 2018-04-14 20:22:07 -07:00
David Tolnay
4e6387f601
Merge pull request #432 from serde-rs/curl
Get rustup-init with curl to avoid tls failures
2018-03-28 15:37:08 +02:00
David Tolnay
de0efe5825
Get rustup-init with curl to avoid tls failures 2018-03-28 15:16:58 +02:00
David Tolnay
28ea01fbb9
Cleaner Debug representation of Error 2018-03-28 15:08:47 +02:00
David Tolnay
77a8c3af9c
Less eye-catching rustc version badge 2018-03-28 15:01:25 +02:00
David Tolnay
186b79656c
Merge pull request #431 from serde-rs/pos
Disambiguate `pos` meaning both "position" and "positive"
2018-03-28 14:55:08 +02:00
David Tolnay
be29e749d3
Spell out pos -> position 2018-03-28 14:51:42 +02:00
David Tolnay
2dd0b6edce
Spell out pos -> positive 2018-03-28 14:50:24 +02:00
David Tolnay
85afd1a645
Merge pull request #430 from serde-rs/rustc
Rustc version badge
2018-03-28 14:48:14 +02:00
David Tolnay
d1e18286ae
Rustc version badge 2018-03-28 14:45:34 +02:00
David Tolnay
165f3abb78
Clarify guarantees of the arbitrary_precision feature
Arbitrary_precision guarantees that serde_json::Number can represent
numbers of arbitrary size/precision, not that a `String` is used
internally.
2018-03-28 11:54:32 +02:00
David Tolnay
2311fb3e86
Update ui tests for nightly-2018-03-26 2018-03-27 10:35:42 +02:00
David Tolnay
8083972ac2
Merge pull request #429 from serde-rs/rustfmt
Format with rustfmt 0.4.1
2018-03-27 10:35:04 +02:00
David Tolnay
654e6e8349
Format with rustfmt 0.4.1 2018-03-27 10:24:10 +02:00
David Tolnay
f4e06d1d86
Link to serde-json-core crate 2018-03-24 19:48:55 +01:00
David Tolnay
415dead816
Merge pull request #426 from mtn/exp_pos
Replace instances of "exp_pos" with "exp_positive"
2018-03-21 12:16:33 -07:00
David Tolnay
8c5d5e45d4
Release 1.0.13 v1.0.13 2018-03-21 12:11:17 -07:00
Alexander Regueiro
31bba4b5a1 Arbitrary-precision numerics support (#416)
Added support for arbitrary-precision numerics, in a similar way that the toml crate does for date-times (using an internal special struct).
2018-03-21 12:09:36 -07:00
Michael Noronha
467f755ec9
Replace instances of "exp_pos" with "exp_positive" 2018-03-20 12:23:28 -04:00
Oliver Schneider
21d623d7bb
Merge pull request #425 from mtn/positive_patch
Replace relevant instance of "pos" with "positive"
2018-03-20 08:25:41 +01:00
Michael Noronha
9f540bbf8e
Replace relevant instance of "pos" with "positive"
Addresses issue #420
2018-03-19 22:07:18 -04:00
David Tolnay
cc8e0b5dce
Release 1.0.12 v1.0.12 2018-03-18 22:36:54 -07:00
David Tolnay
833234bc24
Merge pull request #424 from Eijebong/itoa
Update itoa and bump version
2018-03-18 22:35:49 -07:00
Bastien Orivel
96225b0fbc Update itoa to 0.4 2018-03-18 15:42:58 +01:00
David Tolnay
92c23fb828
Ignore unreadable_literal lint in tests 2018-03-17 12:56:05 -07:00
David Tolnay
c58b5201e1
Update ui tests for nightly-2018-03-16 2018-03-17 12:50:08 -07:00
David Tolnay
42a5d689ca
Release 1.0.11 v1.0.11 2018-03-10 20:14:37 -08:00
David Tolnay
8ccbfe4620
Merge pull request #421 from dmizuk/value-take
Add `Value::take` method
2018-03-10 20:13:37 -08:00
Daiki Mizukami
5b605b204d Add Value::take method 2018-03-11 11:28:59 +09:00
David Tolnay
aa63c9302d
Update ui tests for nightly-2018-03-03 2018-03-03 19:50:31 -08:00
David Tolnay
f2c385fed7
Release 1.0.10 v1.0.10 2018-02-27 17:04:04 -08:00
David Tolnay
9de293da39
Merge pull request #414 from boxofrox/fix/issue-364
Improve error when json strings contain control characters
2018-02-27 17:03:14 -08:00
Justin Charette
cc6304ee06 Improve error when json strings contain control characters
Signed-off-by: Justin Charette <charetjc@gmail.com>
2018-02-27 19:23:23 -05:00
David Tolnay
c6db606357
Ignore redundant_field_names lint 2018-02-27 10:55:12 -08:00
David Tolnay
240c6fec53
Update ui tests for nightly-2018-02-26 2018-02-27 10:52:30 -08:00
David Tolnay
2a4e5a0f5c
Merge pull request #415 from kraai/kraai-patch-1
Simplify the implementation of str's index_or_insert
2018-02-27 10:37:15 -08:00
Matt Kraai
ead6d6e6e9
Simplify the implementation of str's index_or_insert 2018-02-27 09:35:16 -08:00
David Tolnay
d78b23548e
Note that eager_json depends on private API 2018-02-15 10:47:35 -08:00
David Tolnay
4f6229315c
Merge pull request #411 from cuviper/num-traits-0.2
Update to num-traits 0.2 with no_std
2018-02-09 20:05:11 -08:00