Pruning some white spaces.

This commit is contained in:
Daniel Lemire 2021-07-27 13:16:18 -04:00
parent 8d29c5f931
commit f657516a7e
1 changed files with 2 additions and 2 deletions

View File

@ -375,8 +375,8 @@ support for users who avoid exceptions. See [the simdjson error handling documen
std::cout << simdjson::to_string(elem);
}
```
* **Tree Walking and JSON Element Types:** Sometimes you don't necessarily have a document
with a known type, and are trying to generically inspect or walk over JSON elements. To do that, you can use iterators and the type() method.
* **Tree Walking and JSON Element Types:** Sometimes you don't necessarily have a document
with a known type, and are trying to generically inspect or walk over JSON elements. To do that, you can use iterators and the type() method.
For example, here's a quick and dirty recursive function that verbosely prints the JSON document as JSON:
```c++
// We use a template function because we need to