Re: [Cppcms-users] Iterate through a cppcms::json::object?
Brought to you by:
artyom-beilis
From: <ele...@ex...> - 2012-09-20 11:40:46
|
> Hey, > I would like to see an example for iterating through a given json object > variable. > I tried the following: Ok here it is again http://www.cplusplus.com/reference/stl/map/ std::map defines no operator< (less than operator). You have to use the "not equals" operator to check for bounds. This is because std::map::iterator is not a random access iterator, and therefore cannot provide a less than operator. Petr |