JsonExtensions Methods |
The JsonExtensions type exposes the following members.
Name | Description | |
---|---|---|
SerializeT |
Serializes the specified object to a JSON string.
| |
ToJsonT |
Serializes the specified object to a JSON string.
| |
WriteNonNullPropertyT |
If the value is non null, this method will write the property name and the value as a name/value pair.
An error will be raised if the value cannot be written as a single JSON token.
| |
WriteNullablePropertyT |
If the nullable value type is non null, this method will write the property name and the value as a name/value pair.
An error will be raised if the value cannot be written as a single JSON token.
| |
WritePropertyT |
Writes the property name and the value as a name/value pair.
An error will be raised if the value cannot be written as a single JSON token.
| |
WriteSpecifiedProperty |
If the string value is non-empty, this method will write the property name and the value as a name/value pair.
An error will be raised if the value cannot be written as a single JSON token.
|