JsonValue 类

定义

public ref class JsonValue abstract : System::Collections::IEnumerable
public abstract class JsonValue : System.Collections.IEnumerable
type JsonValue = class
    interface IEnumerable
Public MustInherit Class JsonValue
Implements IEnumerable
继承
JsonValue
派生
实现

注解

注意

命名空间 System.Json 是为不再受支持的 Silverlight 设计的。 若要处理 JSON,建议改用 命名空间中的 System.Text.Json API。

构造函数

JsonValue()

属性

Count
Item[Int32]
Item[String]
JsonType

方法

ContainsKey(String)
Equals(Object)

确定指定对象是否等于当前对象。

(继承自 Object)
GetHashCode()

作为默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
Load(Stream)
Load(TextReader)
MemberwiseClone()

创建当前 Object 的浅表副本。

(继承自 Object)
Parse(String)
Save(Stream)
Save(TextWriter)
ToString()

运算符

Implicit(Boolean to JsonValue)
Implicit(Byte to JsonValue)
Implicit(Char to JsonValue)
Implicit(DateTime to JsonValue)
Implicit(DateTimeOffset to JsonValue)
Implicit(Decimal to JsonValue)
Implicit(Double to JsonValue)
Implicit(Guid to JsonValue)
Implicit(Int16 to JsonValue)
Implicit(Int32 to JsonValue)
Implicit(Int64 to JsonValue)
Implicit(JsonValue to Boolean)
Implicit(JsonValue to Byte)
Implicit(JsonValue to Char)
Implicit(JsonValue to DateTime)
Implicit(JsonValue to DateTimeOffset)
Implicit(JsonValue to Decimal)
Implicit(JsonValue to Double)
Implicit(JsonValue to Guid)
Implicit(JsonValue to Int16)
Implicit(JsonValue to Int32)
Implicit(JsonValue to Int64)
Implicit(JsonValue to SByte)
Implicit(JsonValue to Single)
Implicit(JsonValue to String)
Implicit(JsonValue to TimeSpan)
Implicit(JsonValue to UInt16)
Implicit(JsonValue to UInt32)
Implicit(JsonValue to UInt64)
Implicit(JsonValue to Uri)
Implicit(SByte to JsonValue)
Implicit(Single to JsonValue)
Implicit(String to JsonValue)
Implicit(TimeSpan to JsonValue)
Implicit(UInt16 to JsonValue)
Implicit(UInt32 to JsonValue)
Implicit(UInt64 to JsonValue)
Implicit(Uri to JsonValue)

显式接口实现

IEnumerable.GetEnumerator()

返回循环访问集合的枚举数。

适用于