Server
 
로딩중...
검색중...
일치하는것 없음
detail::binary_reader< BasicJsonType, InputAdapterType, SAX > 클래스 템플릿 참조

deserialization of CBOR, MessagePack, and UBJSON values 더 자세히 ...

#include <json.hpp>

Public 멤버 함수

 binary_reader (InputAdapterType &&adapter, const input_format_t format=input_format_t::json) noexcept
 create a binary reader
 
 binary_reader (const binary_reader &)=delete
 
 binary_reader (binary_reader &&)=default
 
binary_readeroperator= (const binary_reader &)=delete
 
binary_readeroperator= (binary_reader &&)=default
 
bool sax_parse (const input_format_t format, json_sax_t *sax_, const bool strict=true, const cbor_tag_handler_t tag_handler=cbor_tag_handler_t::error)
 

상세한 설명

template<typename BasicJsonType, typename InputAdapterType, typename SAX = json_sax_dom_parser<BasicJsonType, InputAdapterType>>
class detail::binary_reader< BasicJsonType, InputAdapterType, SAX >

deserialization of CBOR, MessagePack, and UBJSON values

생성자 & 소멸자 Documentation

◆ binary_reader()

template<typename BasicJsonType , typename InputAdapterType , typename SAX = json_sax_dom_parser<BasicJsonType, InputAdapterType>>
detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::binary_reader ( InputAdapterType &&  adapter,
const input_format_t  format = input_format_t::json 
)
inlineexplicitnoexcept

create a binary reader

매개변수
[in]adapterinput adapter to read from

멤버 함수 Documentation

◆ sax_parse()

template<typename BasicJsonType , typename InputAdapterType , typename SAX = json_sax_dom_parser<BasicJsonType, InputAdapterType>>
bool detail::binary_reader< BasicJsonType, InputAdapterType, SAX >::sax_parse ( const input_format_t  format,
json_sax_t *  sax_,
const bool  strict = true,
const cbor_tag_handler_t  tag_handler = cbor_tag_handler_t::error 
)
inline
매개변수
[in]formatthe binary format to parse
[in]sax_a SAX event processor
[in]strictwhether to expect the input to be consumed completed
[in]tag_handlerhow to treat CBOR tags
반환값
whether parsing was successful

이 클래스에 대한 Documentation 페이지는 다음의 파일로부터 생성되었습니다.: