overworked iterators

This commit is contained in:
Niels 2015-02-22 17:52:27 +01:00
parent bc2e3a798d
commit d524e23204
5 changed files with 3277 additions and 1648 deletions

View file

@ -214,6 +214,14 @@ j.empty(); // false
j.type(); // json::value_t::array
j.clear(); // the array is empty again
// convenience type checkers
j.is_null();
j.is_boolean();
j.is_number();
j.is_object();
j.is_array();
j.is_string();
// comparison
j == "[\"foo\", 1, true]"_json; // true