Erick Tryzelaar
fe20852b2c
Reject serializing maps to JSON with non-string keys
...
Closes #122 . This is a breaking change since it modifies the
return type of serde_json::to_vec{,pretty}, so it'll require a major
version bump of serde_json.
2015-08-13 22:29:13 -07:00
Erick Tryzelaar
1d9c707a76
Rewrite json parser to not require consuming the full stream
...
Closes #89
2015-08-06 11:12:37 -07:00
Erick Tryzelaar
fd84aec485
Fix parsing min, max, and epsilon f64 values
2015-08-05 08:15:47 -07:00
Erick Tryzelaar
ed6777e59f
Fix json parsing i64::MIN, add tests for min and max i64 and u64 values
2015-08-03 09:09:44 -07:00
Erick Tryzelaar
8eff38b6f6
Eliminate some code duplication parsing an exponent as an integer
2015-08-01 13:50:42 -07:00
Erick Tryzelaar
23031d057f
Add test for parsing json "0" and "0.0"
2015-07-31 07:33:23 -07:00
Oliver Schneider
24787195a1
serialize tuple enums with single element directly as the value instead of a sequence
2015-07-24 09:10:58 +02:00
Erick Tryzelaar
e35603eb85
Fix serializing maps/sequences with no size hint
...
Closes #101
2015-07-22 10:44:43 -07:00
Erick Tryzelaar
8fa40fe7e1
Move json into it's own crate
...
Not everyone needs json, so no reason to force people to build
it.
2015-07-22 10:44:43 -07:00
Erick Tryzelaar
dbe2beacb0
Allow structs to be deserialized from sequences
...
This relies on the sequence to have the same ordering as the
struct field order.
2015-07-22 10:44:43 -07:00
ProtectedMode
2e8ef0f768
Add test for #77 , integer overflow when parsing JSON scientific notation number.
2015-05-21 09:59:14 +02:00
Erick Tryzelaar
482f92af61
Add a single driver for tests and benchmarks
2015-05-18 22:47:36 -07:00
Erick Tryzelaar
9dd5f9dc7a
Restructure directories to prep for syntex
2015-05-18 22:47:35 -07:00