Issues with obtaining a callback with jsonObject from Poco JSON parser in items array #3991
Unanswered
toraviskumar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have implemented a JSON parser class derived from Poco::JSON::ParseHandler, and I am trying to obtain a d2cCallback for every JSON object in the items array, as well as a nextPageTokenCallback for the nextPageToken string. While the nextPageTokenCallback method is working as expected, I am unable to get the d2cCallback to work properly.
Below are the sample code:
In my JSON data, the 'items' array contains two JSON objects. Therefore, I expect to receive 'd2cCallback' twice, each time with the JSON object data from the 'items' array.
Beta Was this translation helpful? Give feedback.
All reactions