C# Class 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
Afficher le fichier Open project: Ziftr/CoiniumServ

Méthodes publiques

Свойство Type Description
Indent string

Méthodes publiques

Méthode Description
IsEscaped ( this str, int index ) : bool
PrettyPrint ( string input ) : string
Repeat ( this str, int count ) : string

Method Details

IsEscaped() public static méthode

public static IsEscaped ( this str, int index ) : bool
str this
index int
Résultat bool

PrettyPrint() public static méthode

public static PrettyPrint ( string input ) : string
input string
Résultat string

Repeat() public static méthode

public static Repeat ( this str, int count ) : string
str this
count int
Résultat string

Property Details

Indent public_oe static_oe property

public static string Indent
Résultat string