GoPxL SDK
template<typename T >
void Add ( const std::string &  path,
const T &  val 
)

Adds value if not exists.

Version
Introduced in 0.2.1.53
Parameters
pathJSON pointer path of the new field to add. This path MUST begin with a "/" to be a proper JSON pointer path.
valValue to be stored. Must be valid JSON data type.
Exceptions
GoJsonErrorwhen handle cannot be unflatted.