| 463 | } |
| 464 | |
| 465 | static void consume_ws( const std::string &str, size_t &offset ) { |
| 466 | while( isspace( str.at(offset) ) && offset <= str.size() ) { ++offset; } |
| 467 | } |
| 468 | |
| 469 | static JSON parse_object( const std::string &str, size_t &offset ) { |
| 470 | JSON Object( JSON::Class::Object ); |