bool json_validate(const char *buf, const size_t len)
Returns true if the provided JSON could be parsed by yajl.
json_content_t json_determine_content(const char *buf, const size_t len)
void tree_append_json(Con *con, const char *buf, const size_t len, char **errormsg)
A 'Con' represents everything from the X11 root window down to a single X11 window.