Summary
Add comprehensive round-trip tests between the main JSON model and the Simple value model.
Current behavior
Tests cover conversion from Simple values to Json.
There is no complete round-trip suite validating semantic preservation across nested values.
Expected behavior
Supported values should preserve their meaning through:
Simple → Json → Simple;
Json → Simple → Json.
The test suite must clearly identify values that cannot be represented losslessly.
Scope
Suggested files
modules/json/tests/json_simple_roundtrip_test.cpp
modules/json/include/vix/json/convert.hpp
Acceptance criteria
Non-goals
This issue does not include:
- byte-for-byte serialized-text equality;
- arbitrary-precision numbers;
- duplicate object keys;
- JSON schema equivalence.
Summary
Add comprehensive round-trip tests between the main JSON model and the Simple value model.
Current behavior
Tests cover conversion from Simple values to
Json.There is no complete round-trip suite validating semantic preservation across nested values.
Expected behavior
Supported values should preserve their meaning through:
Simple → Json → Simple;Json → Simple → Json.The test suite must clearly identify values that cannot be represented losslessly.
Scope
Suggested files
modules/json/tests/json_simple_roundtrip_test.cppmodules/json/include/vix/json/convert.hppAcceptance criteria
Non-goals
This issue does not include: