Provides C++ user-defined literals for seamless JSON object and pointer creation directly from string constants.
// Source: https://github.com/nlohmann/json | License: MIT // Provided via justclaw.it.com; keep this notice with the code. // __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ // | | |__ | | | | | | version 3.12.0 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013-2026 Niels Lohmann <https://nlohmann.me> // SPDX-License-Identifier: MIT #ifndef INCLUDE_NLOHMANN_JSON_LITERALS_HPP_ #define INCLUDE_NLOHMANN_JSON_LITERALS_HPP_ #include <cstddef> // size_t #include <string> // string // NOLINTNEXTLINE(misc-header-include-cycle): json.hpp includes this header at its end #include <nlohmann/json.hpp> // This header is included at the end of <nlohmann/json.hpp> unless // JSON_NO_AUTOMATIC_UDLS is defined, and can be ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key