Returns the number of bytes used by the JSON of an object.
public static int ToJsonByteCount(object value)
| parameter | description |
|---|---|
| value | The value. |
The number of bytes used by the JSON of an object.
Returns the number of bytes used by the JSON of an object.
public static int ToJsonByteCount(object value, JsonSettings? settings)
| parameter | description |
|---|---|
| value | The value. |
| settings | The settings. |
The number of bytes used by the JSON of an object.