Template Function flatten

Function Documentation

template<typename BasicJsonType>
static void flatten(const string_t &reference_string, const BasicJsonType &value, BasicJsonType &result)

Note

Empty objects or arrays are flattened to null.

Parameters:
  • reference_string[in] the reference string to the current value

  • value[in] the value to consider

  • result[inout] the result object to insert values to