| 332 | |
| 333 | |
| 334 | void JSONConfiguration::enumerate(const std::string& key, Keys& range) const |
| 335 | { |
| 336 | JSON::Query query(_object); |
| 337 | Poco::DynamicAny result = query.find(key); |
| 338 | if ( result.type() == typeid(JSON::Object::Ptr) ) |
| 339 | { |
| 340 | JSON::Object::Ptr object = result.extract<JSON::Object::Ptr>(); |
| 341 | object->getNames(range); |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | |
| 346 | void JSONConfiguration::save(std::ostream& ostr, unsigned int indent) const |