Serializes the specified object to a JSON string.
| C# | Visual Basic | Visual C++ |
public static string SerializeObject( Object value, Formatting formatting )
Public Shared Function SerializeObject ( _ value As Object, _ formatting As Formatting _ ) As String
public: static String^ SerializeObject( Object^ value, Formatting formatting )
- value (Object)
- The object to serialize.
- formatting (Formatting)
- Indicates how the output is formatted.
A JSON string representation of the object.