Serialize a Javascript object.
the Javascript object to serialize.
Optional
Buffer object containing the serialized object.
Serialize a Javascript object.