Closed ghost1372 closed 3 years ago
Formatting is passed via JsonSerializerSettings. The picture shows you the resolving logic.
By default, all JsonSettings
use static JsonSettings.SerializationSettings
which has Formatting
property with default value of Formatting.Indented
.
In-order to override setting specifically for an object, use instance mySettings.OverrideSerializerSettings
or modify static JsonSettings.SerializationSettings
.
Note that on next release it'll work appropriately. on release 2.0.0-alpha3 I accidentally override the Formatting.
after installing version 2 Alpha3 It seems that Formatting.Indented does not work version 2 alpha 3
version 2 alpha 2
Is there an option to enable it?