Skip to main content
Version: 4.1

WisejSerializerOptions

Namespace: Wisej.Core

Assembly: Wisej.Framework (4.1.0.0)

Options for WisejSerializer.

public enum WisejSerializerOptions : Enum

Fields

NameDescription
CamelCaseThe names of the fields are serialized using camel casing: first char is lowercase (default).
FormattedThe output JSON string is pretty.
IgnoreDefaultsDefault values are not serialized.
IgnoreNullsNull values are not serialized.
NoneNo options.
PreserveDecimalSerializes a double/float/decimal 0 to 0.0.
UseOptionsAttributeUse the WisejSerializerOptionsAttribute assigned to the class or object being serialized.

Used By

NameDescription
JSON.ToJSONSerializes the object to a JSON string.
JSON.StringifySerializes the object to a JSON string.
DynamicObject.ToJSONSerializes the object to a JSON string.
IWisejSerializable.SerializeSerialize the object in JSON format.
WisejSerializer.SerializeSerializes an object to standard JSON.
WisejSerializerOptionsAttribute.OptionsOptions.