JsoNeat
Some JSON parse/iterate C++ classes build on top of Jsmn
Loading...
Searching...
No Matches
jsoneat::KvPair< D > Struct Template Reference

pair of a reference and a json-key More...

#include </home/bertw/proj/mcu/libs/mbed-jsoneat/components/jsoneat/include/jsoneat/jsoneat.hh>

Collaboration diagram for jsoneat::KvPair< D >:

Public Member Functions

 KvPair (const char *json_key, D &value)
 construct object according of arguments.
 

Public Attributes

const char * key
 
D & val
 

Detailed Description

template<typename D>
struct jsoneat::KvPair< D >

pair of a reference and a json-key

Template Parameters
Dtype of data value or object

Constructor & Destructor Documentation

◆ KvPair()

template<typename D >
jsoneat::KvPair< D >::KvPair ( const char *  json_key,
D &  value 
)
inline

construct object according of arguments.

Parameters
valuereference to value variable
json_keypointer to json key as cstring

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