TwinCollection.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 TwinProperties 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
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET