From 15e5a7a5b3201dfb5c73b9fc18207c6f104cea14 Mon Sep 17 00:00:00 2001 From: Niels Date: Sat, 11 Apr 2015 16:44:10 +0200 Subject: [PATCH] Updated nlohmann::basicjson::erase (markdown) --- nlohmann::basicjson::erase.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nlohmann::basicjson::erase.md b/nlohmann::basicjson::erase.md index 80a3104..819491a 100644 --- a/nlohmann::basicjson::erase.md +++ b/nlohmann::basicjson::erase.md @@ -28,6 +28,8 @@ The iterator `pos` must be valid and dereferenceable. Thus the `end()` iterator The iterator `first` does not need to be dereferenceable if `first==last`: erasing an empty range is a no-op. +If erase is called with valid and dereferenceable iterators for JSON values of type number, string, or boolean, the value will be changed to `null`. + ## Parameter - `pos`: iterator to the element to remove