Convenience wrapper for yajl_tree_get #70

wants to merge 4 commits into


None yet

2 participants


Hi Lloyd,

I wrote this small function to get around the awkwardness of doing

const char ** path = {"some_key", 0}
yajl_tree_get(node, path, yajl_t_any);

when I want the value from an immediate object.
Instead I can use

yajl_object_get(node, "some_key", yajl_t_any).


Martin Brown added some commits Jan 19, 2012

I am curious to know what @lloyd's thoughts are on introducing this API method. sorry, I realize this is 3 years old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment