#include <vector>#include <map>#include <iosfwd>#include <string>#include "irep.h"#include "range.h"Go to the source code of this file.
Convert the structured_datat into an json object.
For example, the structured data: structured_datat data{ {{labelt{{"my", "data"}}, structured_data_entryt::entry( {{labelt{{"my", "number"}}, structured_data_entryt::data_node(json_numbert("10"))}, {labelt{{"my", "string"}}, structured_data_entryt::data_node(json_stringt("hi"))}})}}};
Will produce: