You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you insert only one double quotation mark in the field like this:
test-section:
# Some description for this test value1value-test: " # Some description for this test value2 value-test-2: "test2"
The result of the serialization will be as follows:
test-section:
# Some description for this test value1value-test: " # Some description for this test value2 value-test-2: "# Some description for this test value2value-test-2: "test2"
It looks like reader keeps looking for the next double quote even when the next field starts.
Configuration used:
publicclassTestSettingsextendsYamlSerializable {
@TransientprivatestaticfinalSerializerConfigCONFIG = newSerializerConfig.Builder()
.setCommentValueIndent(1)
.build();
@TransientpublicstaticfinalTestSettingsIMP = newTestSettings();
publicTestSettings() {
super(CONFIG);
}
publicTEST_SECTIONTEST_SECTION = newTEST_SECTION();
publicstaticclassTEST_SECTION {
@Comment(value = {
@CommentValue("Some description for this test value1"),
}, at = Comment.At.PREPEND)
publicStringVALUE_TEST = "test1";
@Comment(value = {
@CommentValue("Some description for this test value2"),
}, at = Comment.At.PREPEND)
publicStringVALUE_TEST2 = "test2";
}
}
The text was updated successfully, but these errors were encountered:
If you insert only one double quotation mark in the field like this:
The result of the serialization will be as follows:
It looks like reader keeps looking for the next double quote even when the next field starts.
Configuration used:
The text was updated successfully, but these errors were encountered: