WhatIfJsonFormatter.FormatJson 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.
Overloads
FormatJson(JToken) | |
FormatJson(JToken, String, Int32, Int32) |
FormatJson(JToken)
public static string FormatJson (Newtonsoft.Json.Linq.JToken value);
static member FormatJson : Newtonsoft.Json.Linq.JToken -> string
Public Shared Function FormatJson (value As JToken) As String
Parameters
- value
- Newtonsoft.Json.Linq.JToken
Returns
Applies to
FormatJson(JToken, String, Int32, Int32)
protected void FormatJson (Newtonsoft.Json.Linq.JToken value, string path = "", int maxPathLength = 0, int indentLevel = 0);
member this.FormatJson : Newtonsoft.Json.Linq.JToken * string * int * int -> unit
Protected Sub FormatJson (value As JToken, Optional path As String = "", Optional maxPathLength As Integer = 0, Optional indentLevel As Integer = 0)
Parameters
- value
- Newtonsoft.Json.Linq.JToken
- path
- String
- maxPathLength
- Int32
- indentLevel
- Int32