| 1534 | } |
| 1535 | |
| 1536 | Value::const_iterator Value::end() const { |
| 1537 | switch (type_) { |
| 1538 | case arrayValue: |
| 1539 | case objectValue: |
| 1540 | if (value_.map_) |
| 1541 | return const_iterator(value_.map_->end()); |
| 1542 | break; |
| 1543 | default: |
| 1544 | break; |
| 1545 | } |
| 1546 | return {}; |
| 1547 | } |
| 1548 | |
| 1549 | Value::iterator Value::begin() { |
| 1550 | switch (type_) { |