/// <summary> /// Create a human readable string from the JSON. /// </summary> /// <param name="input">The JSON string to be beautified.</param> /// <param name="decodeUnicode">Indicates whether \uXXXX encoded Unicode notations should be converted into actual Unicode characters.</param> /// <returns>A pretty-printed JSON string.</returns> public static string Beautify(string input, bool decodeUnicode) { return(Formatter.PrettyPrint(input, decodeUnicode)); }
/// <summary> /// Creates a human readable string from the JSON. /// </summary> /// <param name="input">The JSON string to be beautified.</param> /// <returns>A pretty-printed JSON string.</returns> public static string Beautify(string input) { return(Formatter.PrettyPrint(input)); }