8 #ifndef CPROVER_UTIL_STRUCTURED_DATA_H
9 #define CPROVER_UTIL_STRUCTURED_DATA_H
24 std::string
pretty()
const;
41 const std::map<labelt, structured_data_entryt> &
children()
const;
46 std::map<labelt, structured_data_entryt>
children);
77 const std::map<labelt, structured_data_entryt> &
data()
const;
80 std::map<labelt, structured_data_entryt>
_data;
A way of representing nested key/value data.
const std::map< labelt, structured_data_entryt > & data() const
structured_datat(std::map< labelt, structured_data_entryt > data)
std::map< labelt, structured_data_entryt > _data
std::string camel_case() const
labelt(std::vector< std::string > components)
std::string kebab_case() const
std::vector< std::string > components
std::string snake_case() const
std::string pretty() const
bool operator<(const labelt &other) const
static structured_data_entryt data_node(const jsont &data)
std::string leaf_data() const
std::map< labelt, structured_data_entryt > _children
const std::map< labelt, structured_data_entryt > & children() const
jsont leaf_object() const
static structured_data_entryt entry(std::map< labelt, structured_data_entryt > children)
structured_data_entryt(jsont data)
std::string to_pretty(const structured_datat &)
Convert the structured_data into plain text.