License
BSD-3-Clause
CDM formatting metadata for roundtrip fidelity.
This module provides the CdmFormat struct which captures formatting details from source text to enable faithful roundtrip conversion.
Formatting metadata for roundtrip fidelity.
CdmFormat captures how a value was originally formatted in source text, enabling parsers to preserve the exact representation when writing back.
CdmFormat fmt;
fmt.quoteStyle = CdmFormat.QuoteStyle.DOUBLE;
fmt.indentation = " ";
fmt.blankLinesBefore = 2;QuoteStyle quoteStyleNumberFormat numberFormatKeyValueSep keyValueSepSeparatorStyle separatorBracketStyle bracketStylestring rawTextstring indentationubyte blankLinesBeforeQuoteStyleString quoting style.NumberFormatNumber representation format.KeyValueSepKey-value separator style.SeparatorStyleElement separator style.BracketStyleContainer bracket style.