From f657516a7e9dcd756e00a250453287ae2c356313 Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Tue, 27 Jul 2021 13:16:18 -0400 Subject: [PATCH] Pruning some white spaces. --- doc/basics.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/basics.md b/doc/basics.md index 428b69a0..22664dc7 100644 --- a/doc/basics.md +++ b/doc/basics.md @@ -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