Serializes a value into JSON (application/json).
Parameters: | value – a value to serialize to JSON |
---|---|
Returns: | a serialized JSON string |
Return type: | basestring |
Serializes a value into property list (plist) format. (application/plist+xml)
Parameters: | value – a value to serialize to plist |
---|---|
Returns: | a serialized plist XML |
Return type: | basestring |