Body Class |
Namespace: Couchbase.Lite
public sealed class Body
The Body type exposes the following members.
| Name | Description | |
|---|---|---|
| Body(IDictionaryString, Object) |
Constructor
| |
| Body(IEnumerableByte) |
Constructor
| |
| Body(IListObject) |
Constructor
|
| Name | Description | |
|---|---|---|
| AsJson |
Returns a serialized JSON byte enumerable object containing the properties
of this object.
| |
| AsJSONString |
Returns a serialized JSON string containing the properties
of this object
| |
| AsObject |
Gets the deserialized object containing the properties of the JSON
| |
| AsPrettyJson |
Returns a serialized JSON byte enumerable object containing the properties
of this object in human readable form.
| |
| GetProperties |
Gets the properties from this object
| |
| GetPropertyForKey(String) |
Gets the property for the given key
| |
| GetPropertyForKeyT(String, T) |
Gets the cast property for the given key, or uses the default value if not found
| |
| HasValueForKey |
Determines whether this instance has value the specified key.
| |
| IsValidJSON |
Determines whether this instance is valid JSON.
| |
| SetPropertyForKey |
Sets the property for a given key.
| |
| ToString | (Overrides ObjectToString.) | |
| TryGetPropertyForKeyT |
Tries the get property for key and cast it to T
|