Implement JsonGenerator.writeFieldId(...)
for YAMLGenerator
#140
Labels
yaml
Issue related to YAML format backend
JsonGenerator.writeFieldId(...)
for YAMLGenerator
#140
With latest improvements, attempt is made to try to retain "String-type" of text values written; and so values like
100
are written quoted even ifMINIMIZE_QUOTES
is enabled.But there is now (2.8+) a special case -- JsonGenerator.writeFieldId(long)
-- where caller can indicate that the value in question should be considered a real integral number. While it is/was added originally to support (binary) formats that can have
Maps with non-String key types, it seems like it should also be supported by
YAMLGenerator` since, well, why not.The main/only difference should be that no quoting should be added.
The text was updated successfully, but these errors were encountered: