WisejSerializerOptions

Wisej.Core.WisejSerializerOptions

Namespace: Wisej.Core

Assembly: Wisej.Framework (3.2.0.0)

Options for WisejSerializer.

public enum WisejSerializerOptions : Enum

Fields

Name
Description

CamelCase

The names of the fields are serialized using camel casing: first char is lowercase (default).

Formatted

The output JSON string is pretty.

IgnoreDefaults

Default values are not serialized.

IgnoreNulls

Null values are not serialized.

None

No options.

PreserveDecimal

Serializes a double/float/decimal 0 to 0.0.

UseOptionsAttribute

Use the WisejSerializerOptionsAttribute assigned to the class or object being serialized.

Used By

Name
Description

Serializes the object to a JSON string.

Serializes the object to a JSON string.

Serializes the object to a JSON string.

Serialize the object in JSON format.

Serializes an object to standard JSON.

Last updated