REP-001 - Testdata for serialization formats

From RestAuth
(Redirected from REP-001)
Jump to navigation Jump to search

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[1].


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:


  1. Crockford, D., "The application/json Media Type for JavaScript Object Notation (JSON)", RFC 4627, July 2006.

Authorship information

  • 2014, 2015, Mathias Ertl,