JsonPrimitive Klasa

Definicja

public ref class JsonPrimitive : System::Json::JsonValue
public class JsonPrimitive : System.Json.JsonValue
type JsonPrimitive = class
    inherit JsonValue
Public Class JsonPrimitive
Inherits JsonValue
Dziedziczenie
JsonPrimitive

Uwagi

Uwaga

Przestrzeń nazw została zaprojektowana System.Json pod kątem programu Silverlight, który nie jest już obsługiwany. Do przetwarzania danych JSON zalecamy użycie interfejsów API w System.Text.Json przestrzeni nazw.

Konstruktory

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

Właściwości

Count (Odziedziczone po JsonValue)
Item[Int32] (Odziedziczone po JsonValue)
Item[String] (Odziedziczone po JsonValue)
JsonType

Metody

ContainsKey(String) (Odziedziczone po JsonValue)
Equals(Object)

Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.

(Odziedziczone po Object)
GetHashCode()

Służy jako domyślna funkcja skrótu.

(Odziedziczone po Object)
GetType()

Type Pobiera wartość bieżącego wystąpienia.

(Odziedziczone po Object)
MemberwiseClone()

Tworzy płytkią kopię bieżącego Objectelementu .

(Odziedziczone po Object)
Save(Stream)
Save(TextWriter) (Odziedziczone po JsonValue)
ToString() (Odziedziczone po JsonValue)

Jawne implementacje interfejsu

IEnumerable.GetEnumerator()

Zwraca moduł wyliczający, który iteruje po kolekcji.

(Odziedziczone po JsonValue)

Dotyczy