json - Can I get objects by name with libjson? -
Can I get an object with name with libjson?
I have set up Liboxon. I am surprised that there is no way to get value from object name. I have to write my work or am I missing something?
If you are using a C ++ library, JSONNode class overloads the [] operator .
Document copy:
JSONNode & amp; Operator [] (const json_string & amp; name); Const jessanod & amp; Operator [] (const json_string & amp; name) const; This will refer you to a child's node in either a specific place or in his name. Asking for node, which is not there, will be undefined behavior.
Comments
Post a Comment