Serializer.SerializeObject(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Serializes the specified object into a JSON string.
public string SerializeObject (object serializeableObject);
abstract member SerializeObject : obj -> string
override this.SerializeObject : obj -> string
Public Function SerializeObject (serializeableObject As Object) As String
Parameters
- serializeableObject
- Object
The object to serialize.
Returns
The JSON string.