Laurentiu Nicola
|
1c6d0ef319
|
Use IndexMap instead of LinkedHashMap
|
2018-06-06 20:51:57 +03: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
|
a59a4f447f
|
Mark error construction as cold code
|
2018-04-21 14:14:21 -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
|
654e6e8349
|
Format with rustfmt 0.4.1
|
2018-03-27 10:24:10 +02: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 |
|
Daiki Mizukami
|
5b605b204d
|
Add Value::take method
|
2018-03-11 11:28:59 +09:00 |
|
Matt Kraai
|
ead6d6e6e9
|
Simplify the implementation of str's index_or_insert
|
2018-02-27 09:35:16 -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 |
|
Árpád Goretity
|
75ffe41476
|
Remove unnecessary copy in Value::from(Cow::Owned)
|
2018-01-21 09:20:15 +01:00 |
|
David Tolnay
|
bfd4562d74
|
Hide Number implementation details from Debug representation
|
2017-12-30 13:28:30 -05:00 |
|
David Tolnay
|
a51990c272
|
Fewer instantiations of Option::map_or
This lowers us from 59 instantiations of Option::map_or to just 6. On my
computer this improves serde_json compile time by about 5%. Pretty wild!
|
2017-12-24 00:47:44 -05:00 |
|
David Tolnay
|
683470ab2b
|
More detailed documentation of Index trait
|
2017-10-28 23:38:15 -04:00 |
|
sinkuu
|
35fd8c4c93
|
Remove unnecessary allow(needless_pass_by_value)
|
2017-10-26 18:16:40 +09:00 |
|
David Tolnay
|
f9f204cb41
|
Explain square bracket indexing in more detail
|
2017-10-15 10:37:54 -07:00 |
|
SeongChan Lee
|
7fbf18e95e
|
Implement PartialEq<bool> for Value
|
2017-07-13 04:12:38 +09:00 |
|
David Tolnay
|
6b17c363b9
|
No need for pub use in private module
|
2017-04-27 17:09:18 -07:00 |
|
David Tolnay
|
5df9d32be8
|
Add license info to value files
|
2017-04-27 17:02:21 -07:00 |
|
David Tolnay
|
1d445facde
|
Index got lost in the grand value division
|
2017-04-27 16:42:24 -07:00 |
|
David Tolnay
|
4cc9d87832
|
Treat non-integer key as a type error
|
2017-04-27 15:49:09 -07:00 |
|
David Tolnay
|
83e3ec0a45
|
Allow integers to be used as map keys again
|
2017-04-27 12:56:43 -07:00 |
|
David Tolnay
|
8e48fa0fb2
|
Remove an unreachable branch
|
2017-04-25 11:36:37 -07:00 |
|
David Tolnay
|
c5cd928ddc
|
Use the new linked-hash-map entry API
|
2017-04-21 15:27:00 -07:00 |
|
Pascal Hertleif
|
085af20882
|
Grand value division: value::de
|
2017-04-21 21:50:08 +02:00 |
|
Pascal Hertleif
|
af55b82f26
|
Grand value division: value::ser
|
2017-04-21 21:50:07 +02:00 |
|
Pascal Hertleif
|
3c439cfb52
|
Grand value division: value::from
|
2017-04-21 21:50:05 +02:00 |
|
Pascal Hertleif
|
f7d7a645c7
|
Grand value division: value::partial_eq
|
2017-04-21 21:50:03 +02:00 |
|
Pascal Hertleif
|
3cc1a44a10
|
Grand value division: value::index
|
2017-04-21 21:50:02 +02:00 |
|
Pascal Hertleif
|
39d55e7525
|
Move Value into its own mod
|
2017-04-21 21:49:47 +02:00 |
|