struson icon indicating copy to clipboard operation
struson copied to clipboard

[serde] Add more Serde derived tests

Open Marcono1234 opened this issue 1 year ago • 0 comments

Enhancement description

As seen with #41 it might be useful to add more Serde tests which cover derived implementations, therefore being closer to real code.

Could possibly

  • include examples from https://serde.rs/examples.html (properly crediting them)
  • include test code from the Serde repositories (properly crediting them)
  • create tests for some of the supported attributes, https://serde.rs/attributes.html

But don't need to cover everything since the Serializer and Deserializer usage might be similar for many cases, and only the derived Serialize and Deserialize implementation has larger differences, but that is unrelated to the Serde support by Struson.

Marcono1234 avatar Jan 29 '24 01:01 Marcono1234