nlohmann::basic_json<>::erase

remove element from a JSON object given a key

Synopsis

Declared in <nlohmann/json.hpp>
template<class KeyType>
requires detail::is_usable_as_basic_json_key_type<basic_json_t, KeyType>::value
size_type
erase(KeyType&& key);


Return Value

a type to represent container sizes

Created with MrDocs