Serializer.SerializeToJson(Object, Boolean) 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.
Serialize input object to string
public static string SerializeToJson (object obj, bool forLogging = false);
static member SerializeToJson : obj * bool -> string
Public Shared Function SerializeToJson (obj As Object, Optional forLogging As Boolean = false) As String
Parameters
- obj
- Object
- forLogging
- Boolean