WisejSerializerOptions
Namespace: Wisej.Core
Assembly: Wisej.Framework (4.1.0.0)
Options for WisejSerializer.
- C#
- VB.NET
public enum WisejSerializerOptions : Enum
Public Enum WisejSerializerOptions As [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 |
|---|---|
| JSON.ToJSON | Serializes the object to a JSON string. |
| JSON.Stringify | Serializes the object to a JSON string. |
| DynamicObject.ToJSON | Serializes the object to a JSON string. |
| IWisejSerializable.Serialize | Serialize the object in JSON format. |
| WisejSerializer.Serialize | Serializes an object to standard JSON. |
| WisejSerializerOptionsAttribute.Options | Options. |