[Question] Is there a way to visit an element of array twice in ondemand API? #2298
Replies: 3 comments
-
Please see the rewinding section of our documentation: https://github.com/simdjson/simdjson/blob/master/doc/basics.md#rewinding |
Beta Was this translation helpful? Give feedback.
-
@lemire Thanks for your reply. I have read this documentation, and both |
Beta Was this translation helpful? Give feedback.
-
If you need to access the same value multiple times, you should store it in your own data structure. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, all. I am working on using ondemand API to parse json. I have to visit an json data twice, first to get types and then elements, since they are split into two seperate classes, do we have this feature support?
Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions