Secdist JSON parsing helper functions.
Definition in file helpers.hpp.
Go to the source code of this file.
#include <string>#include <userver/compiler/demangle.hpp>#include <userver/formats/json/value.hpp>Namespaces | |
| namespace | storages |
| Components, clients and helpers for different databases and storages. | |
| namespace | storages::secdist |
| Credentials storage. | |
Functions | |
| void | storages::secdist::ThrowInvalidSecdistType (const formats::json::Value &val, std::string_view type) |
| std::string | storages::secdist::GetString (const formats::json::Value &parent_val, std::string_view name) |
| int | storages::secdist::GetInt (const formats::json::Value &parent_val, std::string_view name, int dflt) |
| template<typename T> | |
| T | storages::secdist::GetValue (const formats::json::Value &parent_val, std::string_view key, const T &dflt) |
| void | storages::secdist::CheckIsObject (const formats::json::Value &val, std::string_view name) |
| void | storages::secdist::CheckIsArray (const formats::json::Value &val, std::string_view name) |