97528b59cf
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}`. |
||
---|---|---|
.. | ||
test_annotations.rs | ||
test_bytes.rs | ||
test_de.rs | ||
test_json_builder.rs | ||
test_json.rs | ||
test_macros.rs | ||
test_ser.rs | ||
test.rs | ||
test.rs.in |