remove element from a JSON array given an index

Synopsis

Declared in <nlohmann/json.hpp>

void
erase(size_type const idx);

Parameters

Name

Description

idx

index of the element to remove

Created with MrDocs