REP-001 - Testdata for serialization formats
This document specifies REP-002 - Testdata for serialization formats, which specifies testdata that can be used by serializers/deserializers in different serialization formats. The testdata itself is specified in JSON.
In general, The following should be true for every testcase:
deserialize(serialize(testcase)) == testcase
This means that deserializing serialized content should always result in an identical value and vice versa.
The testcases are available under a separate URL where they can be fetched e.g. by unittest suites:
- 2014, 2015, Mathias Ertl, firstname.lastname@example.org