Why do proxy objects not have array_value() / object_value()? #359
-
I had the problem the when using the []-operator to access an object the returned value did not offer the array_value() / object_value() while it has al the as_...(). I am now using at() which return the a Json. However as I am converting existing json11 based code I have to touch many lines ... Can anybody explain this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I don't recall the |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick reply. |
Beta Was this translation helpful? Give feedback.
I don't recall the
array_value()
andobject_value()
functions ever being part of the documentedbasic_json
api, found here. These are internal functions. The proxy should cover all the non-static functions that are defined in the documented api.