From a84d0d02edb0ddd5ed189f5e77262d5ee5259e91 Mon Sep 17 00:00:00 2001 From: lemire Date: Thu, 2 Mar 2023 14:51:29 +0000 Subject: [PATCH] deploy: d65acbd47b741f384d072a16dabfb8a7005f6b80 --- md_doc_basics.html | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/md_doc_basics.html b/md_doc_basics.html index c99ec0611..f4a0fa3b2 100644 --- a/md_doc_basics.html +++ b/md_doc_basics.html @@ -239,7 +239,7 @@ Using the Parsed JSON
  • Because On Demand is really just an iterator, you must fully consume the current object or array before accessing a sibling object or array.
  • Values can only be consumed once, you should get the values and store them if you plan to need them multiple times. You are expected to access the keys of an object just once. You are expected to go through the values of an array just once.
  • -

    The simdjson library makes generous use of std::string_view instances. If you are unfamiliar with std::string_view in C++, make sure to read the section on std::string_view.

    +

    The simdjson library makes generous use of std::string_view instances. If you are unfamiliar with std::string_view in C++, make sure to read the section on std::string_view. They behave much like an immutable std::string but they require no memory allocation. You can create a std::string instance from an std::string_view when you need it.

    The following specific instructions indicate how to use the JSON when exceptions are enabled, but simdjson has full, idiomatic support for users who avoid exceptions. See the simdjson error handling documentation for more.