Summary
Provide one options structure for string serialization and file output.
Current behavior
Serialization behavior is configured through positional parameters such as:
- indentation;
- ASCII escaping.
As additional options are added, positional overloads become harder to read and extend.
Expected behavior
The module should provide an explicit options type while keeping existing overloads.
Scope
Suggested files
modules/json/include/vix/json/dumps.hpp
modules/json/tests/json_dumps_options_test.cpp
Acceptance criteria
Non-goals
This issue does not include:
- custom JSON encoders;
- streaming output;
- schema formatting;
- canonical JSON.
Summary
Provide one options structure for string serialization and file output.
Current behavior
Serialization behavior is configured through positional parameters such as:
As additional options are added, positional overloads become harder to read and extend.
Expected behavior
The module should provide an explicit options type while keeping existing overloads.
Scope
dumps().dump_file().Suggested files
modules/json/include/vix/json/dumps.hppmodules/json/tests/json_dumps_options_test.cppAcceptance criteria
Non-goals
This issue does not include: