[#nlohmann-basic_json-00-sax_parse-0a] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-00.adoc[basic_json]::sax_parse :relfileprefix: ../../ :mrdocs: generate SAX events (iterator pair, or iterator+sentinel pair for C++20 ranges support) == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class IteratorType, class SAX, class SentinelType = IteratorType> requires detail::can_compare_ne<IteratorType, SentinelType>::value [[__nonnull__]] static bool sax_parse( IteratorType first, SentinelType last, SAX* sax, xref:nlohmann/basic_json-00/input_format_t.adoc[input_format_t] format = input_format_t::json, bool const strict = true, bool const ignore_comments = false, bool const ignore_trailing_commas = false); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#