C# Класс Coinium.Common.Extensions.JsonFormatter

Utility class to format a given JSON string so it is more readable and nicely indented. Original source from: http://stackoverflow.com/questions/4580397/json-formatter-in-c
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
Indent string

Открытые методы

Метод Описание
IsEscaped ( this str, int index ) : bool
PrettyPrint ( string input ) : string
Repeat ( this str, int count ) : string

Описание методов

IsEscaped() публичный статический Метод

public static IsEscaped ( this str, int index ) : bool
str this
index int
Результат bool

PrettyPrint() публичный статический Метод

public static PrettyPrint ( string input ) : string
input string
Результат string

Repeat() публичный статический Метод

public static Repeat ( this str, int count ) : string
str this
count int
Результат string

Описание свойств

Indent публичное статическое свойство

public static string Indent
Результат string