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
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET