json_in_type
json_in_type copied to clipboard
Implement the Serialize trait from serde
Many libraries and frameworks use the Serialize trait from serde. It has become a de-facto standard.
Serializing through this trait would be a little slower because of the limitations it imposes, so it shouldn't be the default. However, the main performance gain of this library comes from the complex types it generates, and these types could perfectly implement the Serialize trait.