keyword stringclasses 7
values | repo_name stringlengths 8 98 | file_path stringlengths 4 244 | file_extension stringclasses 29
values | file_size int64 0 84.1M | line_count int64 0 1.6M | content stringlengths 1 84.1M ⌀ | language stringclasses 14
values |
|---|---|---|---|---|---|---|---|
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/json.hpp | .hpp | 197,070 | 5,255 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
/************************... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/ordered_map.hpp | .hpp | 11,692 | 360 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <f... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/json_fwd.hpp | .hpp | 2,541 | 76 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#ifndef INCLUDE_NLOHMANN_... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/thirdparty/hedley/hedley.hpp | .hpp | 86,068 | 2,046 | #pragma once
// __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-FileCopyrightText: 2016-2021 Evan Ne... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/thirdparty/hedley/hedley_undef.hpp | .hpp | 5,500 | 159 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#undef JSON... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/exceptions.hpp | .hpp | 9,268 | 259 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <c... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/string_escape.hpp | .hpp | 2,168 | 73 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <n... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/abi_macros.hpp | .hpp | 3,807 | 101 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
// This fil... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/json_custom_base_class.hpp | .hpp | 883 | 32 | #pragma once
#include <type_traits> // conditional, is_same
#include <nlohmann/detail/abi_macros.hpp>
NLOHMANN_JSON_NAMESPACE_BEGIN
namespace detail
{
/*!
@brief Default base class of the @ref basic_json class.
So that the correct implementations of the copy / move ctors / assign operators
of @ref basic_json do no... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/value_t.hpp | .hpp | 4,326 | 119 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <a... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/hash.hpp | .hpp | 4,016 | 130 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <c... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/json_pointer.hpp | .hpp | 37,143 | 989 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <a... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/string_concat.hpp | .hpp | 5,951 | 147 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <c... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/macro_scope.hpp | .hpp | 42,976 | 470 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <u... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/macro_unscope.hpp | .hpp | 1,220 | 45 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
// restore ... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/json_ref.hpp | .hpp | 1,811 | 79 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <i... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/conversions/to_json.hpp | .hpp | 16,274 | 447 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <a... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/conversions/from_json.hpp | .hpp | 18,880 | 498 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <a... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/conversions/to_chars.hpp | .hpp | 38,562 | 1,119 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2009 Florian Loitsch <https://florian.loitsch.com/>
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/output/binary_writer.hpp | .hpp | 71,152 | 1,839 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <a... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/output/output_adapters.hpp | .hpp | 4,067 | 148 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <a... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/output/serializer.hpp | .hpp | 40,163 | 989 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2008-2009 Björn Hoehrmann <bjoern@hoehrmann.de>
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <http... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/meta/std_fs.hpp | .hpp | 766 | 30 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <n... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/meta/detected.hpp | .hpp | 2,109 | 71 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <t... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/meta/identity_tag.hpp | .hpp | 526 | 22 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <n... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/meta/void_t.hpp | .hpp | 597 | 25 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <n... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/meta/is_sax.hpp | .hpp | 6,960 | 160 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <c... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/meta/type_traits.hpp | .hpp | 28,099 | 741 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <l... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/meta/cpp_future.hpp | .hpp | 5,178 | 172 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-FileCopyrightText: 2018 The Abseil Authors
// SPDX... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/meta/call_std/end.hpp | .hpp | 451 | 18 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <n... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/meta/call_std/begin.hpp | .hpp | 453 | 18 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <n... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/iterators/iterator_traits.hpp | .hpp | 1,757 | 62 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <i... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/iterators/iteration_proxy.hpp | .hpp | 8,152 | 243 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <c... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/iterators/json_reverse_iterator.hpp | .hpp | 3,861 | 131 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <c... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/iterators/internal_iterator.hpp | .hpp | 1,071 | 36 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <n... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/iterators/primitive_iterator.hpp | .hpp | 3,227 | 133 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <c... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/iterators/iter_impl.hpp | .hpp | 24,046 | 752 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <i... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/input/lexer.hpp | .hpp | 54,544 | 1,633 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <a... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/input/position_t.hpp | .hpp | 958 | 38 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <c... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/input/binary_reader.hpp | .hpp | 103,192 | 3,011 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <a... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/input/parser.hpp | .hpp | 18,722 | 508 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <c... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/input/input_adapters.hpp | .hpp | 17,372 | 495 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <a... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/include/nlohmann/detail/input/json_sax.hpp | .hpp | 21,419 | 729 | // __ _____ _____ _____
// __| | __| | | | JSON for Modern C++
// | | |__ | | | | | | version 3.11.2
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
//
// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me>
// SPDX-License-Identifier: MIT
#pragma once
#include <c... | Unknown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/index.md | .md | 44 | 4 | # JSON for Modern C++

| Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/home/faq.md | .md | 6,853 | 181 | # Frequently Asked Questions (FAQ)
## Known bugs
### Brace initialization yields arrays
!!! question
Why does
```cpp
json j{true};
```
and
```cpp
json j(true);
```
yield different results (`#!json [true]` vs. `#!json true`)?
This is a known issue, and -- even worse -- the be... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/home/code_of_conduct.md | .md | 3,213 | 47 | # Contributor Covenant Code of Conduct
## Our Pledge
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/home/design_goals.md | .md | 2,485 | 18 | # Design goals
There are myriads of [JSON](https://json.org) libraries out there, and each may even have its reason to exist. Our class had these design goals:
- **Intuitive syntax**. In languages such as Python, JSON feels like a first class data type. We used all the operator magic of modern C++ to achieve the same... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/home/releases.md | .md | 101,382 | 1,226 | # Releases
## v3.7.3
!!! summary "Files"
- [include.zip](https://github.com/nlohmann/json/releases/download/v3.7.3/include.zip) (274 KB)
- [include.zip.asc](https://github.com/nlohmann/json/releases/download/v3.7.3/include.zip.asc) (1 KB)
- [json.hpp](https://github.com/nlohmann/json/releases/download/v3... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/home/exceptions.md | .md | 28,071 | 897 | # Exceptions
## Overview
### Base type
All exceptions inherit from class `json::exception` (which in turn inherits from `std::exception`). It is used as the base class for all exceptions thrown by the `basic_json` class. This class can hence be used as "wildcard" to catch exceptions.
```plantuml
std::exception <|--... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/home/license.md | .md | 1,984 | 22 | # License
<img align="right" src="https://opensource.org/trademarks/opensource/OSI-Approved-License-100x137.png">
The class is licensed under the [MIT License](https://opensource.org/licenses/MIT):
Copyright © 2013-2022 [Niels Lohmann](https://nlohmann.me)
Permission is hereby granted, free of charge, to any p... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/home/sponsors.md | .md | 396 | 14 | # Sponsors
You can sponsor this library at [GitHub Sponsors](https://github.com/sponsors/nlohmann).
## Named Sponsors
- [Michael Hartmann](https://github.com/reFX-Mike)
- [Stefan Hagen](https://github.com/sthagen)
- [Steve Sperandeo](https://github.com/homer6)
- [Robert Jefe Lindstädt](https://github.com/eljefedelro... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/ordered_json.md | .md | 559 | 33 | # <small>nlohmann::</small>ordered_json
```cpp
using ordered_json = basic_json<ordered_map>;
```
This type preserves the insertion order of object keys.
## Examples
??? example
The example below demonstrates how `ordered_json` preserves the insertion order of object keys.
```cpp
--8<-- "examples/order... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json.md | .md | 472 | 29 | # <small>nlohmann::</small>json
```cpp
using json = basic_json<>;
```
This type is the default specialization of the [basic_json](basic_json/index.md) class which uses the standard template
types.
## Examples
??? example
The example below demonstrates how to use the type `nlohmann::json`.
```cpp
--8<-... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/operator_gtgt.md | .md | 1,651 | 65 | # <small>nlohmann::</small>operator>>(basic_json)
```cpp
std::istream& operator>>(std::istream& i, basic_json& j);
```
Deserializes an input stream to a JSON value.
## Parameters
`i` (in, out)
: input stream to read a serialized JSON value from
`j` (in, out)
: JSON value to write the deserialized input to
## ... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/operator_literal_json.md | .md | 1,449 | 62 | # <small>nlohmann::</small>operator""_json
```cpp
json operator "" _json(const char* s, std::size_t n);
```
This operator implements a user-defined string literal for JSON objects. It can be used by adding `#!cpp _json` to a
string literal and returns a [`json`](json.md) object if no parse error occurred.
It is reco... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/ordered_map.md | .md | 1,607 | 78 | # <small>nlohmann::</small>ordered_map
```cpp
template<class Key, class T, class IgnoredLess = std::less<Key>,
class Allocator = std::allocator<std::pair<const Key, T>>>
struct ordered_map : std::vector<std::pair<const Key, T>, Allocator>;
```
A minimal map-like container that preserves insertion order for u... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/operator_literal_json_pointer.md | .md | 1,655 | 65 | # <small>nlohmann::</small>operator""_json_pointer
```cpp
json_pointer operator "" _json_pointer(const char* s, std::size_t n);
```
This operator implements a user-defined string literal for JSON Pointers. It can be used by adding `#!cpp _json_pointer`
to a string literal and returns a [`json_pointer`](json_pointer/i... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/operator_ltlt.md | .md | 2,868 | 88 | # <small>nlohmann::</small>operator<<(basic_json), <small>nlohmann::</small>operator<<(json_pointer)
```cpp
std::ostream& operator<<(std::ostream& o, const basic_json& j); // (1)
std::ostream& operator<<(std::ostream& o, const json_pointer& ptr); // (2)
```
1. Serialize the given JSON value `j` to the output s... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/number_float.md | .md | 597 | 40 | # <small>nlohmann::json_sax::</small>number_float
```cpp
virtual bool number_float(number_float_t val, const string_t& s) = 0;
```
A floating-point number was read.
## Parameters
`val` (in)
: floating-point value
`s` (in)
: string representation of the original input
## Return value
Whether parsing should pr... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/key.md | .md | 536 | 41 | # <small>nlohmann::json_sax::</small>key
```cpp
virtual bool key(string_t& val) = 0;
```
An object key was read.
## Parameters
`val` (in)
: object key
## Return value
Whether parsing should proceed.
## Notes
It is safe to move the passed object key value.
## Examples
??? example
The example below shows... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/string.md | .md | 541 | 41 | # <small>nlohmann::json_sax::</small>string
```cpp
virtual bool string(string_t& val) = 0;
```
A string value was read.
## Parameters
`val` (in)
: string value
## Return value
Whether parsing should proceed.
## Notes
It is safe to move the passed string value.
## Examples
??? example
The example below ... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/end_object.md | .md | 443 | 32 | # <small>nlohmann::json_sax::</small>end_object
```cpp
virtual bool end_object() = 0;
```
The end of an object was read.
## Return value
Whether parsing should proceed.
## Examples
??? example
The example below shows how the SAX interface is used.
```cpp
--8<-- "examples/sax_parse.cpp"
```
... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/start_array.md | .md | 618 | 41 | # <small>nlohmann::json_sax::</small>start_array
```cpp
virtual bool start_array(std::size_t elements) = 0;
```
The beginning of an array was read.
## Parameters
`elements` (in)
: number of object elements or `#!cpp -1` if unknown
## Return value
Whether parsing should proceed.
## Notes
Binary formats may rep... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/start_object.md | .md | 621 | 41 | # <small>nlohmann::json_sax::</small>start_object
```cpp
virtual bool start_object(std::size_t elements) = 0;
```
The beginning of an object was read.
## Parameters
`elements` (in)
: number of object elements or `#!cpp -1` if unknown
## Return value
Whether parsing should proceed.
## Notes
Binary formats may ... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/end_array.md | .md | 440 | 32 | # <small>nlohmann::json_sax::</small>end_array
```cpp
virtual bool end_array() = 0;
```
The end of an array was read.
## Return value
Whether parsing should proceed.
## Examples
??? example
The example below shows how the SAX interface is used.
```cpp
--8<-- "examples/sax_parse.cpp"
```
... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/index.md | .md | 2,081 | 45 | # <small>nlohmann::</small>json_sax
```cpp
template<typename BasicJsonType>
struct json_sax;
```
This class describes the SAX interface used by [sax_parse](../basic_json/sax_parse.md). Each function is called in
different situations while the input is parsed. The boolean return value informs the parser whether to con... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/number_unsigned.md | .md | 534 | 37 | # <small>nlohmann::json_sax::</small>number_unsigned
```cpp
virtual bool number_unsigned(number_unsigned_t val) = 0;
```
An unsigned integer number was read.
## Parameters
`val` (in)
: unsigned integer value
## Return value
Whether parsing should proceed.
## Examples
??? example
The example below shows h... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/parse_error.md | .md | 784 | 45 | # <small>nlohmann::json_sax::</small>parse_error
```cpp
virtual bool parse_error(std::size_t position,
const std::string& last_token,
const detail::exception& ex) = 0;
```
A parse error occurred.
## Parameters
`position` (in)
: the position in the input where the ... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/binary.md | .md | 557 | 41 | # <small>nlohmann::json_sax::</small>binary
```cpp
virtual bool binary(binary_t& val) = 0;
```
A binary value was read.
## Parameters
`val` (in)
: binary value
## Return value
Whether parsing should proceed.
## Notes
It is safe to move the passed binary value.
## Examples
??? example
The example below ... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/boolean.md | .md | 485 | 37 | # <small>nlohmann::json_sax::</small>boolean
```cpp
virtual bool boolean(bool val) = 0;
```
A boolean value was read.
## Parameters
`val` (in)
: boolean value
## Return value
Whether parsing should proceed.
## Examples
??? example
The example below shows how the SAX interface is used.
```cpp
--8... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/number_integer.md | .md | 513 | 37 | # <small>nlohmann::json_sax::</small>number_integer
```cpp
virtual bool number_integer(number_integer_t val) = 0;
```
An integer number was read.
## Parameters
`val` (in)
: integer value
## Return value
Whether parsing should proceed.
## Examples
??? example
The example below shows how the SAX interface ... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_sax/null.md | .md | 423 | 32 | # <small>nlohmann::json_sax::</small>null
```cpp
virtual bool null() = 0;
```
A null value was read.
## Return value
Whether parsing should proceed.
## Examples
??? example
The example below shows how the SAX interface is used.
```cpp
--8<-- "examples/sax_parse.cpp"
```
Output:
... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/json_pointer.md | .md | 1,189 | 42 | # <small>nlohmann::json_pointer::</small>json_pointer
```cpp
explicit json_pointer(const string_t& s = "");
```
Create a JSON pointer according to the syntax described in
[Section 3 of RFC6901](https://tools.ietf.org/html/rfc6901#section-3).
## Parameters
`s` (in)
: string representing the JSON pointer; if omitt... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/operator_string_t.md | .md | 875 | 49 | # <small>nlohmann::json_pointer::</small>operator string_t
```cpp
operator string_t() const
```
Return a string representation of the JSON pointer.
## Return value
A string representation of the JSON pointer
## Possible implementation
```cpp
operator string_t() const
{
return to_string();
}
```
## Notes
!!!... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/empty.md | .md | 636 | 40 | # <small>nlohmann::json_pointer::</small>empty
```cpp
bool empty() const noexcept;
```
Return whether pointer points to the root document.
## Return value
`#!cpp true` iff the JSON pointer points to the root document.
## Exception safety
No-throw guarantee: this function never throws exceptions.
## Complexity
C... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/operator_slash.md | .md | 1,503 | 65 | # <small>nlohmann::json_pointer::</small>operator/
```cpp
// (1)
json_pointer operator/(const json_pointer& lhs, const json_pointer& rhs);
// (2)
json_pointer operator/(const json_pointer& lhs, string_t token);
// (3)
json_pointer operator/(const json_pointer& lhs, std::size_t array_idx);
```
1. create a new JSON p... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/operator_eq.md | .md | 3,365 | 114 | # <small>nlohmann::json_pointer::</small>operator==
```cpp
// until C++20
template<typename RefStringTypeLhs, typename RefStringTypeRhs>
bool operator==(
const json_pointer<RefStringTypeLhs>& lhs,
const json_pointer<RefStringTypeRhs>& rhs) noexcept; // (1)
template<typename RefStringTypeLhs, typena... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/index.md | .md | 2,104 | 53 | # <small>nlohmann::</small>json_pointer
```cpp
template<typename RefStringType>
class json_pointer;
```
A JSON pointer defines a string syntax for identifying a specific value within a JSON document. It can be used with
functions [`at`](../basic_json/at.md) and [`operator[]`](../basic_json/operator%5B%5D.md). Further... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/pop_back.md | .md | 550 | 36 | # <small>nlohmann::json_pointer::</small>pop_back
```cpp
void pop_back();
```
Remove last reference token.
## Exceptions
Throws [out_of_range.405](../../home/exceptions.md#jsonexceptionout_of_range405) if JSON pointer has no parent.
## Complexity
Constant.
## Examples
??? example
The example shows the usag... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/string_t.md | .md | 576 | 29 | # <small>nlohmann::json_pointer::</small>string_t
```cpp
using string_t = RefStringType;
```
The string type used for the reference tokens making up the JSON pointer.
See [`basic_json::string_t`](../basic_json/string_t.md) for more information.
## Examples
??? example
The example shows the type `string_t` and ... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/to_string.md | .md | 651 | 41 | # <small>nlohmann::json_pointer::</small>to_string
```cpp
string_t to_string() const;
```
Return a string representation of the JSON pointer.
## Return value
A string representation of the JSON pointer
## Notes
For each JSON pointer `ptr`, it holds:
```cpp
ptr == json_pointer(ptr.to_string());
```
## Examples
... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/back.md | .md | 644 | 41 | # <small>nlohmann::json_pointer::</small>back
```cpp
const string_t& back() const;
```
Return last reference token.
## Return value
Last reference token.
## Exceptions
Throws [out_of_range.405](../../home/exceptions.md#jsonexceptionout_of_range405) if JSON pointer has no parent.
## Complexity
Constant.
## Exam... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/operator_slasheq.md | .md | 1,231 | 62 | # <small>nlohmann::json_pointer::</small>operator/=
```cpp
// (1)
json_pointer& operator/=(const json_pointer& ptr);
// (2)
json_pointer& operator/=(string_t token);
// (3)
json_pointer& operator/=(std::size_t array_idx)
```
1. append another JSON pointer at the end of this JSON pointer
2. append an unescaped refer... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/push_back.md | .md | 663 | 40 | # <small>nlohmann::json_pointer::</small>push_back
```cpp
void push_back(const string_t& token);
void push_back(string_t&& token);
```
Append an unescaped token at the end of the reference pointer.
## Parameters
`token` (in)
: token to add
## Complexity
Amortized constant.
## Examples
??? example
The ex... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/operator_ne.md | .md | 3,224 | 110 | # <small>nlohmann::json_pointer::</small>operator!=
```cpp
// until C++20
template<typename RefStringTypeLhs, typename RefStringTypeRhs>
bool operator!=(
const json_pointer<RefStringTypeLhs>& lhs,
const json_pointer<RefStringTypeRhs>& rhs) noexcept; // (1)
template<typename RefStringTypeLhs, typename StringT... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/json_pointer/parent_pointer.md | .md | 654 | 36 | # <small>nlohmann::json_pointer::</small>parent_pointer
```cpp
json_pointer parent_pointer() const;
```
Returns the parent of this JSON pointer.
## Return value
Parent of this JSON pointer; in case this JSON pointer is the root, the root itself is returned.
## Complexity
Linear in the length of the JSON pointer.
... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/json_use_global_udls.md | .md | 2,250 | 99 | # JSON_USE_GLOBAL_UDLS
```cpp
#define JSON_USE_GLOBAL_UDLS /* value */
```
When defined to `1`, the user-defined string literals (UDLs) are placed into the global namespace instead of
`nlohmann::literals::json_literals`.
## Default definition
The default value is `1`.
```cpp
#define JSON_USE_GLOBAL_UDLS 1
```
Whe... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/json_use_implicit_conversions.md | .md | 1,611 | 60 | # JSON_USE_IMPLICIT_CONVERSIONS
```cpp
#define JSON_USE_IMPLICIT_CONVERSIONS /* value */
```
When defined to `0`, implicit conversions are switched off. By default, implicit conversions are switched on. The
value directly affects [`operator ValueType`](../basic_json/operator_ValueType.md).
## Default definition
By ... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/json_use_legacy_discarded_value_comparison.md | .md | 2,501 | 78 | # JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON
```cpp
#define JSON_USE_LEGACY_DISCARDED_VALUE_COMPARISON /* value */
```
This macro enables the (incorrect) legacy comparison behavior of discarded JSON values. Possible values are `1` to
enable or `0` to disable (default).
When enabled, comparisons involving at least on... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/json_has_ranges.md | .md | 667 | 32 | # JSON_HAS_RANGES
```cpp
#define JSON_HAS_RANGES /* value */
```
This macro indicates whether the standard library has any support for ranges. Implies support for concepts.
Possible values are `1` when supported or `0` when unsupported.
## Default definition
The default value is detected based on the preprocessor m... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/nlohmann_json_namespace_begin.md | .md | 1,732 | 62 | # NLOHMANN_JSON_NAMESPACE_BEGIN, NLOHMANN_JSON_NAMESPACE_END
```cpp
#define NLOHMANN_JSON_NAMESPACE_BEGIN /* value */ // (1)
#define NLOHMANN_JSON_NAMESPACE_END /* value */ // (2)
```
These macros can be used to open and close the `nlohmann` namespace. See
[`nlohmann` Namespace](../../features/namespace.md#struct... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/json_assert.md | .md | 2,003 | 85 | # JSON_ASSERT
```cpp
#define JSON_ASSERT(x) /* value */
```
This macro controls which code is executed for [runtime assertions](../../features/assertions.md) of the library.
## Parameters
`x` (in)
: expression of scalar type
## Default definition
The default value is [`#!cpp assert(x)`](https://en.cppreference.... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/nlohmann_json_serialize_enum.md | .md | 2,730 | 86 | # NLOHMANN_JSON_SERIALIZE_ENUM
```cpp
#define NLOHMANN_JSON_SERIALIZE_ENUM(type, conversion...)
```
By default, enum values are serialized to JSON as integers. In some cases this could result in undesired behavior. If an
enum is modified or re-ordered after data has been serialized to JSON, the later de-serialized JS... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/nlohmann_define_type_intrusive.md | .md | 5,137 | 127 | # NLOHMANN_DEFINE_TYPE_INTRUSIVE, NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT
```cpp
#define NLOHMANN_DEFINE_TYPE_INTRUSIVE(type, member...) // (1)
#define NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT(type, member...) // (2)
```
These macros can be used to simplify the serialization/deserialization of typ... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/json_skip_library_version_check.md | .md | 747 | 38 | # JSON_SKIP_LIBRARY_VERSION_CHECK
```cpp
#define JSON_SKIP_LIBRARY_VERSION_CHECK
```
When defined, the library will not create a compiler warning when a different version of the library was already
included.
## Default definition
By default, the macro is not defined.
```cpp
#undef JSON_SKIP_LIBRARY_VERSION_CHECK
`... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/index.md | .md | 3,274 | 61 | # Macros
Some aspects of the library can be configured by defining preprocessor macros **before** including the `json.hpp`
header. See also the [macro overview page](../../features/macros.md).
## Runtime assertions
- [**JSON_ASSERT(x)**](json_assert.md) - control behavior of runtime assertions
## Exceptions
- [**J... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/nlohmann_json_version_major.md | .md | 1,072 | 41 | # NLOHMANN_JSON_VERSION_MAJOR, NLOHMANN_JSON_VERSION_MINOR, NLOHMANN_JSON_VERSION_PATCH
```cpp
#define NLOHMANN_JSON_VERSION_MAJOR /* value */
#define NLOHMANN_JSON_VERSION_MINOR /* value */
#define NLOHMANN_JSON_VERSION_PATCH /* value */
```
These macros are defined by the library and contain the version numbers acc... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/json_no_io.md | .md | 739 | 36 | # JSON_NO_IO
```cpp
#define JSON_NO_IO
```
When defined, headers `<cstdio>`, `<ios>`, `<iosfwd>`, `<istream>`, and `<ostream>` are not included and parse functions
relying on these headers are excluded. This is relevant for environments where these I/O functions are disallowed for
security reasons (e.g., Intel Softwa... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/json_disable_enum_serialization.md | .md | 3,948 | 153 | # JSON_DISABLE_ENUM_SERIALIZATION
```cpp
#define JSON_DISABLE_ENUM_SERIALIZATION /* value */
```
When defined to `1`, default serialization and deserialization functions for enums are excluded and have to be provided
by the user, for example, using [`NLOHMANN_JSON_SERIALIZE_ENUM`](nlohmann_json_serialize_enum.md) (se... | Markdown |
3D | OpenMS/OpenMS | src/openms/extern/nlohmann_json/docs/mkdocs/docs/api/macros/json_diagnostics.md | .md | 2,297 | 77 | # JSON_DIAGNOSTICS
```cpp
#define JSON_DIAGNOSTICS /* value */
```
This macro enables [extended diagnostics for exception messages](../../home/exceptions.md#extended-diagnostic-messages).
Possible values are `1` to enable or `0` to disable (default).
When enabled, exception messages contain a [JSON Pointer](../json_... | Markdown |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.