JsonData Class

Namespace
LitJson
Interfaces
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["IJsonWrapper"]-.->Type click Interface0 "/api/LitJson/IJsonWrapper" Interface1["IList"]-.->Type Interface2["ICollection"]-.->Type Interface3["IEnumerable"]-.->Type Interface4["IOrderedDictionary"]-.->Type Interface5["IEquatable<JsonData>"]-.->Type Type["JsonData"] class Type type-node

Syntax

public class JsonData : IJsonWrapper, IList, ICollection, IEnumerable, IOrderedDictionary, 
    IEquatable<JsonData>

Constructors

Properties

Name Value Summary
Count int
IsArray bool
IsBoolean bool
IsDouble bool
IsInt bool
IsLong bool
IsObject bool
IsString bool
Keys ICollection<string>
this[int] JsonData
this[string] JsonData

Methods

Name Value Summary
Add(object) int
Clear() void
ContainsKey(string) bool
Determines whether the json contains an element that has the specified key.
Equals(JsonData) bool
GetJsonType() JsonType
Remove(object) bool
SetJsonType(JsonType) void
ToJson() string
ToJson(JsonWriter) void
ToString() string

Operators

Name Value Summary
explicit operator bool(JsonData) bool
explicit operator double(JsonData) double
explicit operator int(JsonData) int
explicit operator long(JsonData) long
explicit operator string(JsonData) string
implicit operator JsonData(bool) JsonData
implicit operator JsonData(double) JsonData
implicit operator JsonData(int) JsonData
implicit operator JsonData(long) JsonData
implicit operator JsonData(string) JsonData