Parses raw data from the Pinecone API into native C++ types. More...
#include <parser.hpp>
Public Types | |
| using | parsed_type = T | 
Public Member Functions | |
| auto | parse (std::vector< uint8_t > &data) const -> util::result< T > | 
| Attempts to parse a stream of bytes into the provided type.  More... | |
Parses raw data from the Pinecone API into native C++ types.
| T | the type to parse | 
| Json | whether the type in question should be parsed using JSON | 
Definition at line 27 of file parser.hpp.
      
  | 
  inline | 
Attempts to parse a stream of bytes into the provided type.
| data | the data to parse | 
Definition at line 36 of file parser.hpp.