Click or drag to resize
JsonExtensions Class
Helper extension methods to use common Newtonsoft.Json methods with less code.
Inheritance Hierarchy
SystemObject
  RiakClient.ExtensionsJsonExtensions

Namespace:  RiakClient.Extensions
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public static class JsonExtensions

The JsonExtensions type exposes the following members.

Methods
  NameDescription
Public methodStatic memberSerializeT
Serializes the specified object to a JSON string.
Public methodStatic memberToJsonT
Serializes the specified object to a JSON string.
Public methodStatic memberWriteNonNullPropertyT
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.
Public methodStatic memberWriteNullablePropertyT
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.
Public methodStatic memberWritePropertyT
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.
Public methodStatic memberWriteSpecifiedProperty
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.
Top
See Also