JsonFormatterOptions Class
Provides options for formatting JSON.
public sealed class JsonFormatterOptions : IEquatable<JsonFormatterOptions>- Implements
Constructors
| Name | Description |
|---|---|
| JsonFormatterOptions() |
JsonFormatterOptions()
JsonFormatterOptions.cspublic JsonFormatterOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| FormatAsStandardObject | Gets or sets whether to format JSON as a standard object in the output. |
| OrderProperties | Gets or sets whether to order properties alphabetically. |
| WriteIndented | Gets or sets whether to write indented JSON. |
FormatAsStandardObject
JsonFormatterOptions.csOrderProperties
JsonFormatterOptions.csWriteIndented
JsonFormatterOptions.csMethods
| Name | Description |
|---|---|
| Equals(JsonFormatterOptions?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Equals overloads
Equals(JsonFormatterOptions?)
public bool Equals(JsonFormatterOptions? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(JsonFormatterOptions?, JsonFormatterOptions?) | |
| operator !=(JsonFormatterOptions?, JsonFormatterOptions?) |
operator ==(JsonFormatterOptions?, JsonFormatterOptions?)
public static bool operator ==(JsonFormatterOptions? left, JsonFormatterOptions? right)No documentation is available.
operator !=(JsonFormatterOptions?, JsonFormatterOptions?)
public static bool operator !=(JsonFormatterOptions? left, JsonFormatterOptions? right)No documentation is available.