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
ファイルを表示 Open project: Ziftr/CoiniumServ

Public Properties

Property Type Description
Indent string

Public Methods

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

Method Details

IsEscaped() public static method

public static IsEscaped ( this str, int index ) : bool
str this
index int
return bool

PrettyPrint() public static method

public static PrettyPrint ( string input ) : string
input string
return string

Repeat() public static method

public static Repeat ( this str, int count ) : string
str this
count int
return string

Property Details

Indent public_oe static_oe property

public static string Indent
return string