serde/serde_tests/tests
Erick Tryzelaar 97528b59cf Add support for serializing newtype structs
This enables formats like JSON to serialize newtype wrapper
structs without the normal object wrapper. Consider types like:

```rust
struct Point {
    x: u32,
    y: u32,
}

stuct MyPoint(Point);
```

Before this patch, `MyPoint(1,2)` would get serialized as
`[{"x":1,"y":2}]`, but now it gets serialized as `{"x":1,"y"2}`.
2015-07-31 07:22:13 -07:00
..
test_annotations.rs Add `#[serde(skip_serializing)] to skip serializing some fields 2015-07-23 08:07:49 -07:00
test_bytes.rs Have visit_enum_simple default to calling visit_tuple_variant 2015-07-30 08:06:04 -07:00
test_de.rs Rename visit_simple to visit_newtype 2015-07-31 07:22:13 -07:00
test_json_builder.rs Move json into it's own crate 2015-07-22 10:44:43 -07:00
test_json.rs serialize tuple enums with single element directly as the value instead of a sequence 2015-07-24 09:10:58 +02:00
test_macros.rs Add support for serializing newtype structs 2015-07-31 07:22:13 -07:00
test_ser.rs Rename visit_enum_simple to visit_newtype_variant 2015-07-31 07:22:13 -07:00
test.rs Move json into it's own crate 2015-07-22 10:44:43 -07:00
test.rs.in Fix the tests 2015-07-16 09:35:09 -04:00