131 Commits

Author SHA1 Message Date
David Tolnay
c85963c288
Release 1.0.20 2018-06-06 23:05:07 -07:00
Laurentiu Nicola
12a24f14b3 Remove old work-around for rustc 1.8 2018-06-07 08:41:38 +03:00
Laurentiu Nicola
1c6d0ef319 Use IndexMap instead of LinkedHashMap 2018-06-06 20:51:57 +03:00
David Tolnay
0cbfb5dba7
Release 1.0.19 2018-05-30 00:19:58 -07:00
David Tolnay
1d88205338
Release 1.0.18 2018-05-26 15:29:59 -07:00
David Tolnay
1e64efc65a
Basic support for i128 and u128 2018-05-26 15:20:58 -07:00
David Tolnay
8ffe4d8222
Format with rustfmt 0.7.0 2018-05-26 11:44:13 -07:00
David Tolnay
bbb2d55e7b
Follow clippy unseparated_literal_suffix pedantic lint 2018-05-07 10:20:37 -07:00
David Tolnay
64cfe63ca6
Remove allocation in parsing escape sequences 2018-05-07 10:07:55 -07:00
David Tolnay
e0a350f7c1
Release 1.0.17 2018-05-01 13:14:51 -07:00
Diggory Blake
0f110b8896 Use BTreeMap equality implementation when applicable 2018-05-01 17:12:05 +01:00
Diggory Blake
ffcafc9d35 Implement order-independent equality 2018-05-01 17:04:14 +01:00
David Tolnay
ba0efec24b
Format with rustfmt 0.6.0 2018-04-30 01:45:09 -07:00
David Tolnay
5dcf09ddab
Release 1.0.16 2018-04-21 15:13:27 -07:00
David Tolnay
a59a4f447f
Mark error construction as cold code 2018-04-21 14:14:21 -07:00
David Tolnay
acbc1517b3
Instantiate io::Result::<usize>::map just once
It was previously instantiated with 10 distinct but equivalent closures.
2018-04-20 23:38:41 -07:00
David Tolnay
87233a2d3a
Map Into::into 2018-04-20 23:36:13 -07:00
David Tolnay
dd857e9875
Rename parser's Number to ParserNumber
Two very similar types called Number is confusing.
2018-04-20 23:23:26 -07:00
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
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 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 2018-04-14 20:22:07 -07:00
David Tolnay
28ea01fbb9
Cleaner Debug representation of Error 2018-03-28 15:08:47 +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
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 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
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 2018-03-18 22:36:54 -07:00
David Tolnay
42a5d689ca
Release 1.0.11 2018-03-10 20:14:37 -08:00
Daiki Mizukami
5b605b204d Add Value::take method 2018-03-11 11:28:59 +09:00
David Tolnay
f2c385fed7
Release 1.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
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
3ac0362e33
Ignore a new clippy lint 2018-02-05 10:27:50 -08:00
Árpád Goretity
4864795d5c Simplify impl FromIterator for Value::Array, and make it look consistent with the rest of the From<Collection> impls 2018-01-21 09:21:44 +01:00