libkazv
json-utils.hpp File Reference
#include "libkazv-config.hpp"
#include <optional>
#include <functional>
#include <nlohmann/json.hpp>
Include dependency graph for json-utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Kazv
 

Functions

template<class Jsonish , class Key , class Func >
bool Kazv::hasAtThat (Jsonish &&j, Key &&k, Func &&f)
 
bool Kazv::isNonCompoundCanonicalJsonValue (const nlohmann::json &j)
 
template<class Jsonish , class RangeT >
std::optional< std::decay_t< Jsonish > > Kazv::getInJson (Jsonish &&j, RangeT &&path, std::size_t index=0)