JsonReaderWriterFactory.CreateJsonReader 메서드

정의

XmlDictionaryReader JSON(JavaScript Object Notation)으로 인코딩된 스트림 또는 버퍼를 XML Infoset에 매핑할 수 있는 개체를 만듭니다.

오버로드

Name Description
CreateJsonReader(Byte[], XmlDictionaryReaderQuotas)

XmlDictionaryReader JSON(JavaScript Object Notation)으로 인코딩된 버퍼를 XML Infoset에 매핑할 수 있는 버퍼를 만듭니다.

CreateJsonReader(Stream, XmlDictionaryReaderQuotas)

XmlDictionaryReader JSON(JavaScript Object Notation)으로 인코딩된 스트림을 XML Infoset에 매핑할 수 있는 스트림을 만듭니다.

CreateJsonReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas)

XmlDictionaryReader 지정된 크기 및 오프셋의 JSON(JavaScript Object Notation)으로 인코딩된 버퍼를 XML Infoset에 매핑할 수 있는 버퍼를 만듭니다.

CreateJsonReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

XmlDictionaryReader 지정된 크기 및 오프셋의 JSON(JavaScript Object Notation)으로 인코딩된 스트림을 XML Infoset에 매핑할 수 있는 스트림을 만듭니다.

CreateJsonReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

XmlDictionaryReader 지정된 크기 및 오프셋 및 문자 인코딩을 사용하여 JSON(JavaScript Object Notation)으로 인코딩된 버퍼를 XML Infoset에 매핑할 수 있는 버퍼를 만듭니다.

설명

각 오버로드는 신뢰할 수 없는 데이터를 읽을 때 DoS(서비스 거부) 공격을 방지하기 위해 사용합니다 XmlDictionaryReaderQuotas . 신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용하는 XmlDictionaryReaderQuotas 방법에 대한 자세한 내용은 데이터에 대한 보안 고려 사항을 참조하세요.

CreateJsonReader(Byte[], XmlDictionaryReaderQuotas)

XmlDictionaryReader JSON(JavaScript Object Notation)으로 인코딩된 버퍼를 XML Infoset에 매핑할 수 있는 버퍼를 만듭니다.

public:
 static System::Xml::XmlDictionaryReader ^ CreateJsonReader(cli::array <System::Byte> ^ buffer, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateJsonReader(byte[] buffer, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateJsonReader : byte[] * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateJsonReader (buffer As Byte(), quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

매개 변수

buffer
Byte[]

읽을 입력 Byte 버퍼 배열입니다.

quotas
XmlDictionaryReaderQuotas

XmlDictionaryReaderQuotas 신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용됩니다.

반품

XmlDictionaryReader JSON(JavaScript Object Notation) 데이터를 처리할 수 있는 값입니다.

설명

이 오버로드는 매개 변수를 Encoding 허용하지 않습니다. 데이터를 읽을 때 문자 인코딩(UTF-8, 유니코드 또는 Big-Endian 유니코드)이 자동으로 검색됩니다.

신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용하는 XmlDictionaryReaderQuotas 방법에 대한 자세한 내용은 데이터에 대한 보안 고려 사항을 참조하세요.

적용 대상

CreateJsonReader(Stream, XmlDictionaryReaderQuotas)

XmlDictionaryReader JSON(JavaScript Object Notation)으로 인코딩된 스트림을 XML Infoset에 매핑할 수 있는 스트림을 만듭니다.

public:
 static System::Xml::XmlDictionaryReader ^ CreateJsonReader(System::IO::Stream ^ stream, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateJsonReader(System.IO.Stream stream, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateJsonReader : System.IO.Stream * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateJsonReader (stream As Stream, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

매개 변수

stream
Stream

읽을 입력 Stream 입니다.

quotas
XmlDictionaryReaderQuotas

XmlDictionaryReaderQuotas 신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용됩니다.

반품

XmlDictionaryReader JSON(JavaScript Object Notation)을 읽을 수 있는 값입니다.

설명

이 오버로드는 매개 변수를 Encoding 사용하지 않습니다. 데이터를 읽을 때 문자 인코딩(UTF-8, 유니코드 또는 Big-Endian 유니코드)이 자동으로 검색됩니다.

신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용하는 XmlDictionaryReaderQuotas 방법에 대한 자세한 내용은 데이터에 대한 보안 고려 사항을 참조하세요.

적용 대상

CreateJsonReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas)

XmlDictionaryReader 지정된 크기 및 오프셋의 JSON(JavaScript Object Notation)으로 인코딩된 버퍼를 XML Infoset에 매핑할 수 있는 버퍼를 만듭니다.

public:
 static System::Xml::XmlDictionaryReader ^ CreateJsonReader(cli::array <System::Byte> ^ buffer, int offset, int count, System::Xml::XmlDictionaryReaderQuotas ^ quotas);
public static System.Xml.XmlDictionaryReader CreateJsonReader(byte[] buffer, int offset, int count, System.Xml.XmlDictionaryReaderQuotas quotas);
static member CreateJsonReader : byte[] * int * int * System.Xml.XmlDictionaryReaderQuotas -> System.Xml.XmlDictionaryReader
Public Shared Function CreateJsonReader (buffer As Byte(), offset As Integer, count As Integer, quotas As XmlDictionaryReaderQuotas) As XmlDictionaryReader

매개 변수

buffer
Byte[]

읽을 입력 Byte 버퍼 배열입니다.

offset
Int32

에서 읽을 시작 위치입니다 buffer.

count
Int32

에서 buffer읽을 수 있는 바이트 수입니다.

quotas
XmlDictionaryReaderQuotas

XmlDictionaryReaderQuotas 신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용됩니다.

반품

XmlDictionaryReader JSON(JavaScript Object Notation)을 읽을 수 있는 값입니다.

설명

이 오버로드는 매개 변수를 Encoding 사용하지 않습니다. 데이터를 읽을 때 문자 인코딩(UTF-8, 유니코드 또는 Big-Endian 유니코드)이 자동으로 검색됩니다.

신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용하는 XmlDictionaryReaderQuotas 방법에 대한 자세한 내용은 데이터에 대한 보안 고려 사항을 참조하세요.

적용 대상

CreateJsonReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

XmlDictionaryReader 지정된 크기 및 오프셋의 JSON(JavaScript Object Notation)으로 인코딩된 스트림을 XML Infoset에 매핑할 수 있는 스트림을 만듭니다.

public:
 static System::Xml::XmlDictionaryReader ^ CreateJsonReader(System::IO::Stream ^ stream, System::Text::Encoding ^ encoding, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public static System.Xml.XmlDictionaryReader CreateJsonReader(System.IO.Stream stream, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose);
static member CreateJsonReader : System.IO.Stream * System.Text.Encoding * System.Xml.XmlDictionaryReaderQuotas * System.Xml.OnXmlDictionaryReaderClose -> System.Xml.XmlDictionaryReader
Public Shared Function CreateJsonReader (stream As Stream, encoding As Encoding, quotas As XmlDictionaryReaderQuotas, onClose As OnXmlDictionaryReaderClose) As XmlDictionaryReader

매개 변수

stream
Stream

읽을 입력 Stream 입니다.

encoding
Encoding

Encoding 판독기에서 사용하는 문자 인코딩을 지정하는 형식입니다. 값으로 지정된 경우 null 판독기는 인코딩을 자동으로 검색하려고 시도합니다.

quotas
XmlDictionaryReaderQuotas

XmlDictionaryReaderQuotas 신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용됩니다.

onClose
OnXmlDictionaryReaderClose

OnXmlDictionaryReaderClose 판독기를 닫을 때 호출할 대리자입니다.

반품

XmlDictionaryReader JSON(JavaScript Object Notation)을 읽을 수 있는 값입니다.

설명

신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용하는 XmlDictionaryReaderQuotas 방법에 대한 자세한 내용은 데이터에 대한 보안 고려 사항을 참조하세요.

적용 대상

CreateJsonReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)

XmlDictionaryReader 지정된 크기 및 오프셋 및 문자 인코딩을 사용하여 JSON(JavaScript Object Notation)으로 인코딩된 버퍼를 XML Infoset에 매핑할 수 있는 버퍼를 만듭니다.

public:
 static System::Xml::XmlDictionaryReader ^ CreateJsonReader(cli::array <System::Byte> ^ buffer, int offset, int count, System::Text::Encoding ^ encoding, System::Xml::XmlDictionaryReaderQuotas ^ quotas, System::Xml::OnXmlDictionaryReaderClose ^ onClose);
public static System.Xml.XmlDictionaryReader CreateJsonReader(byte[] buffer, int offset, int count, System.Text.Encoding encoding, System.Xml.XmlDictionaryReaderQuotas quotas, System.Xml.OnXmlDictionaryReaderClose onClose);
static member CreateJsonReader : byte[] * int * int * System.Text.Encoding * System.Xml.XmlDictionaryReaderQuotas * System.Xml.OnXmlDictionaryReaderClose -> System.Xml.XmlDictionaryReader
Public Shared Function CreateJsonReader (buffer As Byte(), offset As Integer, count As Integer, encoding As Encoding, quotas As XmlDictionaryReaderQuotas, onClose As OnXmlDictionaryReaderClose) As XmlDictionaryReader

매개 변수

buffer
Byte[]

읽을 입력 Byte 버퍼 배열입니다.

offset
Int32

에서 읽을 시작 위치입니다 buffer.

count
Int32

에서 buffer읽을 수 있는 바이트 수입니다.

encoding
Encoding

Encoding 판독기에서 사용하는 문자 인코딩을 지정하는 형식입니다. 값으로 지정된 경우 null 판독기는 인코딩을 자동으로 검색하려고 시도합니다.

quotas
XmlDictionaryReaderQuotas

XmlDictionaryReaderQuotas 신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용됩니다.

onClose
OnXmlDictionaryReaderClose

OnXmlDictionaryReaderClose 판독기를 닫을 때 호출할 대리자입니다. 기본값은 null입니다.

반품

XmlDictionaryReader JSON(JavaScript Object Notation)을 읽을 수 있는 값입니다.

설명

신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용하는 XmlDictionaryReaderQuotas 방법에 대한 자세한 내용은 데이터에 대한 보안 고려 사항을 참조하세요.

적용 대상