Twin.ToJson(Formatting) 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.
Gets the Twin as a JSON string
public string ToJson (Newtonsoft.Json.Formatting formatting = Newtonsoft.Json.Formatting.None);
member this.ToJson : Newtonsoft.Json.Formatting -> string
Public Function ToJson (Optional formatting As Formatting = Newtonsoft.Json.Formatting.None) As String
Parameters
- formatting
- Newtonsoft.Json.Formatting
Optional. Formatting for the output JSON string.
Returns
JSON string