Skip to content
JasonPP::

JsonDataType2String

std::string JasonPP::JsonDataType2String(const JSON_DATA_TYPE type)

A global function for converting json data type values to a printable string.

Returns std::string:

The name of the JSON_DATA_TYPE.
Like, JSON_DATA_TYPE::FLOAT would return "FLOAT".


Arguments:

JSON_DATA_TYPE type: The json data type to translate