C# Class System.Json.JsonValue

Inheritance: IEnumerable
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public ContainsKey ( string key ) : bool
key string
Résultat bool

Load() public static méthode

public static Load ( Stream stream ) : JsonValue
stream System.IO.Stream
Résultat JsonValue

Load() public static méthode

public static Load ( TextReader textReader ) : JsonValue
textReader TextReader
Résultat JsonValue

Parse() public static méthode

public static Parse ( string jsonString ) : JsonValue
jsonString string
Résultat JsonValue

Save() public méthode

public Save ( Stream stream ) : void
stream System.IO.Stream
Résultat void

Save() public méthode

public Save ( TextWriter textWriter ) : void
textWriter System.IO.TextWriter
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

this() public méthode

public this ( int index ) : JsonValue
index int
Résultat JsonValue

this() public méthode

public this ( string key ) : JsonValue
key string
Résultat JsonValue