10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
NJJSONParser Class Reference

#include <NJJSONParser.h>

Detailed Description

Implementation of tenduke::json::JSONParser using nlohmann/json.

Inheritance diagram for NJJSONParser:
tenduke::json::JSONParser

Public Member Functions

std::unique_ptr< JSONElementfrom (const char *jsonAsString, std::size_t length) const override
 tenduke::json::JSONParser implementation
 
std::unique_ptr< JSONElementfrom (const std::string &string) const override
 Parses JSON from given string.
 

Member Function Documentation

◆ from() [1/2]

std::unique_ptr<::JSONElement > tenduke::json::nj::NJJSONParser::from ( const char * jsonAsString,
std::size_t length ) const
overridevirtual

◆ from() [2/2]

std::unique_ptr<::JSONElement > tenduke::json::nj::NJJSONParser::from ( const std::string & string) const
overridevirtual

Parses JSON from given string.

Exceptions
JSONParsingExceptionwhen the JSON parsing failed for various reasons.

Implements tenduke::json::JSONParser.


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