maciejhirsz / json-rust

JSON implementation in Rust
Apache License 2.0
563 stars 63 forks source link

Iteration #207

Closed RrayAgent closed 1 year ago

RrayAgent commented 1 year ago

So this isn't so much of an issue but I was trying to figure out how to iterate over a parsed JSON for like ten minutes, and I was wondering if it was possible.

RrayAgent commented 1 year ago

never mind, I though of how to do literally as I pressed submit issue.

RrayAgent commented 1 year ago

if anyone's wondering I usedfor i in 0..parsed.len(){ println!("{i}"); }

im-n1 commented 1 year ago

@RrayAgent saved my life - the docs don't mention that at all.