Couchbase C++ SDK 1.0.2 (rev. 51f4775)
Loading...
Searching...
No Matches
raw_json_transcoder Class Reference

#include <couchbase/codec/raw_json_transcoder.hxx>

Static Public Member Functions

template<typename Document , std::enable_if_t< std::is_same_v< Document, std::string >||std::is_same_v< Document, binary >, bool > = true>
static auto encode (const Document &document) -> encoded_value
 
template<typename Document , std::enable_if_t< std::is_same_v< Document, std::string >||std::is_same_v< Document, binary >, bool > = true>
static auto decode (const encoded_value &encoded) -> Document
 

Member Function Documentation

◆ decode()

template<typename Document , std::enable_if_t< std::is_same_v< Document, std::string >||std::is_same_v< Document, binary >, bool > = true>
static auto decode ( const encoded_value & encoded) -> Document
inlinestatic

◆ encode()

template<typename Document , std::enable_if_t< std::is_same_v< Document, std::string >||std::is_same_v< Document, binary >, bool > = true>
static auto encode ( const Document & document) -> encoded_value
inlinestatic

The documentation for this class was generated from the following file: