C# Class System.Json.JsonValue

Inheritance: IEnumerable
Datei anzeigen Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
ContainsKey ( string key ) : bool
Load ( Stream stream ) : JsonValue
Load ( TextReader textReader ) : JsonValue
Parse ( string jsonString ) : JsonValue
Save ( Stream stream ) : void
Save ( TextWriter textWriter ) : void
ToString ( ) : string
this ( int index ) : JsonValue
this ( string key ) : JsonValue

Private Methods

Method Description
DoEscapeString ( StringBuilder sb, string src, int cur ) : string
EscapeString ( string src ) : string
IEnumerable ( ) : IEnumerator
NeedEscape ( string src, int i ) : bool
SaveInternal ( TextWriter w ) : void
ToJsonPairEnumerable ( object>.IEnumerable kvpc ) : JsonValue>>.IEnumerable
ToJsonValue ( object ret ) : JsonValue
ToJsonValueEnumerable ( IEnumerable arr ) : IEnumerable

Method Details

ContainsKey() public method

public ContainsKey ( string key ) : bool
key string
return bool

Load() public static method

public static Load ( Stream stream ) : JsonValue
stream System.IO.Stream
return JsonValue

Load() public static method

public static Load ( TextReader textReader ) : JsonValue
textReader TextReader
return JsonValue

Parse() public static method

public static Parse ( string jsonString ) : JsonValue
jsonString string
return JsonValue

Save() public method

public Save ( Stream stream ) : void
stream System.IO.Stream
return void

Save() public method

public Save ( TextWriter textWriter ) : void
textWriter System.IO.TextWriter
return void

ToString() public method

public ToString ( ) : string
return string

this() public method

public this ( int index ) : JsonValue
index int
return JsonValue

this() public method

public this ( string key ) : JsonValue
key string
return JsonValue