JsonReaderWriterFactory.CreateJsonReader 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
JSON(JavaScript Object Notation) 인코딩 스트림 또는 버퍼를 XML Infoset에 매핑할 수 있는 XmlDictionaryReader를 만듭니다.
오버로드
CreateJsonReader(Byte[], XmlDictionaryReaderQuotas) |
JSON(JavaScript Object Notation) 인코딩 버퍼를 XML Infoset에 매핑할 수 있는 XmlDictionaryReader를 만듭니다. |
CreateJsonReader(Stream, XmlDictionaryReaderQuotas) |
JSON(JavaScript Object Notation) 인코딩 스트림을 XML Infoset에 매핑할 수 있는 XmlDictionaryReader를 만듭니다. |
CreateJsonReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas) |
지정된 크기와 오프셋을 사용하여 JSON(JavaScript Object Notation) 인코딩 버퍼를 XML Infoset에 매핑할 수 있는 XmlDictionaryReader 를 만듭니다. |
CreateJsonReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) |
지정된 크기와 오프셋을 사용하여 JSON(JavaScript Object Notation) 인코딩 스트림을 XML Infoset에 매핑할 수 있는 XmlDictionaryReader를 만듭니다. |
CreateJsonReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose) |
지정된 크기와 오프셋 및 문자 인코딩을 사용하여 JSON(JavaScript Object Notation) 인코딩 버퍼를 XML Infoset에 매핑할 수 있는 XmlDictionaryReader를 만듭니다. |
설명
각 오버로드는 신뢰할 수 없는 데이터를 읽을 때 DoS(서비스 거부) 공격을 방지하기 위해 사용합니다 XmlDictionaryReaderQuotas . 신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용하는 XmlDictionaryReaderQuotas 방법에 대한 자세한 내용은 데이터에 대한 보안 고려 사항을 참조하세요.
CreateJsonReader(Byte[], XmlDictionaryReaderQuotas)
JSON(JavaScript Object Notation) 인코딩 버퍼를 XML Infoset에 매핑할 수 있는 XmlDictionaryReader를 만듭니다.
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
매개 변수
- quotas
- XmlDictionaryReaderQuotas
신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용되는 XmlDictionaryReaderQuotas입니다.
반환
JSON 데이터를 처리할 수 있는 XmlDictionaryReader입니다.
설명
이 오버로드는 매개 변수를 Encoding 허용하지 않습니다. 문자 인코딩(UTF-8, 유니코드 또는 Big-Endian 유니코드)은 데이터를 읽을 때 자동으로 검색됩니다.
신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용하는 XmlDictionaryReaderQuotas 방법에 대한 자세한 내용은 데이터에 대한 보안 고려 사항을 참조하세요.
적용 대상
CreateJsonReader(Stream, XmlDictionaryReaderQuotas)
JSON(JavaScript Object Notation) 인코딩 스트림을 XML Infoset에 매핑할 수 있는 XmlDictionaryReader를 만듭니다.
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
매개 변수
- quotas
- XmlDictionaryReaderQuotas
신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용되는 XmlDictionaryReaderQuotas입니다.
반환
JSON(JavaScript Object Notation)을 읽을 수 있는 XmlDictionaryReader입니다.
설명
이 오버로드는 매개 변수를 Encoding 사용하지 않습니다. 문자 인코딩(UTF-8, 유니코드 또는 Big-Endian 유니코드)은 데이터를 읽을 때 자동으로 검색됩니다.
신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용하는 XmlDictionaryReaderQuotas 방법에 대한 자세한 내용은 데이터에 대한 보안 고려 사항을 참조하세요.
적용 대상
CreateJsonReader(Byte[], Int32, Int32, XmlDictionaryReaderQuotas)
지정된 크기와 오프셋을 사용하여 JSON(JavaScript Object Notation) 인코딩 버퍼를 XML Infoset에 매핑할 수 있는 XmlDictionaryReader 를 만듭니다.
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
매개 변수
- offset
- Int32
buffer
에서 읽어올 시작 위치입니다.
- count
- Int32
buffer
에서 읽을 수 있는 바이트 수입니다.
- quotas
- XmlDictionaryReaderQuotas
신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용되는 XmlDictionaryReaderQuotas입니다.
반환
JSON(JavaScript Object Notation)을 읽을 수 있는 XmlDictionaryReader입니다.
설명
이 오버로드는 매개 변수를 Encoding 사용하지 않습니다. 문자 인코딩(UTF-8, 유니코드 또는 Big-Endian 유니코드)은 데이터를 읽을 때 자동으로 검색됩니다.
신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용하는 XmlDictionaryReaderQuotas 방법에 대한 자세한 내용은 데이터에 대한 보안 고려 사항을 참조하세요.
적용 대상
CreateJsonReader(Stream, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)
지정된 크기와 오프셋을 사용하여 JSON(JavaScript Object Notation) 인코딩 스트림을 XML Infoset에 매핑할 수 있는 XmlDictionaryReader를 만듭니다.
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);
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
매개 변수
- quotas
- XmlDictionaryReaderQuotas
신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용되는 XmlDictionaryReaderQuotas입니다.
- onClose
- OnXmlDictionaryReaderClose
판독기가 닫힐 때 호출되는 OnXmlDictionaryReaderClose 대리자입니다.
반환
JSON(JavaScript Object Notation)을 읽을 수 있는 XmlDictionaryReader입니다.
설명
신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용하는 XmlDictionaryReaderQuotas 방법에 대한 자세한 내용은 데이터에 대한 보안 고려 사항을 참조하세요.
적용 대상
CreateJsonReader(Byte[], Int32, Int32, Encoding, XmlDictionaryReaderQuotas, OnXmlDictionaryReaderClose)
지정된 크기와 오프셋 및 문자 인코딩을 사용하여 JSON(JavaScript Object Notation) 인코딩 버퍼를 XML Infoset에 매핑할 수 있는 XmlDictionaryReader를 만듭니다.
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);
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
매개 변수
- offset
- Int32
buffer
에서 읽어올 시작 위치입니다.
- count
- Int32
buffer
에서 읽을 수 있는 바이트 수입니다.
- quotas
- XmlDictionaryReaderQuotas
신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용되는 XmlDictionaryReaderQuotas입니다.
- onClose
- OnXmlDictionaryReaderClose
판독기가 닫힐 때 호출되는 OnXmlDictionaryReaderClose 대리자입니다. 기본값은 null
입니다.
반환
JSON(JavaScript Object Notation)을 읽을 수 있는 XmlDictionaryReader입니다.
설명
신뢰할 수 없는 데이터를 읽을 때 서비스 거부 공격을 방지하는 데 사용하는 XmlDictionaryReaderQuotas 방법에 대한 자세한 내용은 데이터에 대한 보안 고려 사항을 참조하세요.