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
/// Put double quotes around strings that need it, for example Null, True, False, a number. This should be called before any other "With" methods if you want this feature enabled.
/// <param name="quoteYaml1_1Strings">Also quote strings that are valid scalars in the YAML 1.1 specification (which includes boolean Yes/No/On/Off, base 60 numbers and more)</param>
@@ -269,7 +272,7 @@ public SerializerBuilder EnsureRoundtrip()
269
272
settings,
270
273
objectFactory
271
274
);
272
-
WithEventEmitter(inner =>newTypeAssigningEventEmitter(inner,true,tagMappings,quoteNecessaryStrings), loc =>loc.InsteadOf<TypeAssigningEventEmitter>());
275
+
WithEventEmitter(inner =>newTypeAssigningEventEmitter(inner,true,tagMappings,quoteNecessaryStrings,quoteYaml1_1Strings), loc =>loc.InsteadOf<TypeAssigningEventEmitter>());
273
276
returnWithTypeInspector(inner =>newReadableAndWritablePropertiesTypeInspector(inner), loc =>loc.OnBottom());
0 commit comments