Method Create
| Improve this Doc View SourceCreate(IJsonCustomizer)
Create JsonWriter object from JSON customizer.
Declaration
public static JsonWriter Create(IJsonCustomizer customizer)
Parameters
Type | Name | Description |
---|---|---|
IJsonCustomizer | customizer | The JSON customizer. |
Returns
Type | Description |
---|---|
JsonWriter | The created JsonWriter object. |
Create(StringBuilder, IJsonCustomizer)
Create JsonWriter object from JSON customizer.
Declaration
public static JsonWriter Create(StringBuilder stringBuilder, IJsonCustomizer customizer)
Parameters
Type | Name | Description |
---|---|---|
System.Text.StringBuilder | stringBuilder | The System.Text.StringBuilder which will contain the resulted JSON string. |
IJsonCustomizer | customizer | The JSON customizer. |
Returns
Type | Description |
---|---|
JsonWriter | The created JsonWriter object. |