-
i have a uint8_t* (pointing at UTF-8) and a size_t len. how do i pass that to parse() ? i DONT have a null terminated string. to save you some time, im going to preempt some reply about iterators; if so, please explain the syntax enough to actually use them, the docs have been overly complicated on the matter, and the examples seem to be lacking. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Have you tried |
Beta Was this translation helpful? Give feedback.
-
thanks. that did it. :) feel free to ignore the following, as problem solved... bbut.. if you can direct me to why this is in the docs that would help me in future. why did i fail to find this in docs? |
Beta Was this translation helpful? Give feedback.
Have you tried
auto j = json::parse(pointer, pointer + len);
?