IJsonSerializerSerializeObject Method |
Convert an object to a JSON string
Namespace:
Couchbase.Lite
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 1.4.1-b107
Syntax string SerializeObject(
Object obj,
bool pretty
)
Parameters
- obj
- Type: SystemObject
The object to convert - pretty
- Type: SystemBoolean
Whether or not to use pretty printing
Return Value
Type:
StringThe JSON string
See Also