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

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -