Open hrszpuk opened 4 months ago
After going over how these may differ for parsing/serialisation I'm leading towards separating them in the Options
struct again. Ah, it is simpler to have the same bool for both parsing and serialisation, but I feel like it might be easy to misinterpret some, and some doing even make sense for both cases (e.g. IgnoreDelimiterPadding
doesn't apply to serialisation since it wouldn't ignore something it is generating? ).
The
Options.Rules.*
need to apply to parsing and the reaction:"value"
, are ignored (value
), otherwise, if false, the quotes become part of the value ("value"
will be"value"
notvalue
.)