Skip to content
JsonArray

RemoveAllExceptType

std::size_t RemoveAllExceptType(const JSON_DATA_TYPE type)

Will delete all JsonData objects that are not of type type. Memory will be freed.

Returns the amount of objects removed.