Coding & developmentSerializationcode

Prove a serializer can round-trip values

Protects meaning across encoding boundaries.

Editorial illustration for Prove a serializer can round-trip values
Editorial illustration for this prompt; the prompt itself does not generate this image.

Ready to use

Prompt

Inputs: [DATA SCHEMA], [SERIALIZER CODE], [EDGE VALUES]. Identify type, precision, null and timezone risks. Design round-trip tests and deterministic comparisons for the supplied format. Output: A failing-case list, test code and proposed local patch only if authorised. Check: Decoded values meet the contract; intentionally lossy fields are documented. If essential information is missing, identify it rather than filling the gap with a guess. Specify whether equality means byte-for-byte identity or semantic equivalence under the schema.