| 1521 | } |
| 1522 | |
| 1523 | Value::const_iterator Value::begin() const { |
| 1524 | switch (type_) { |
| 1525 | case arrayValue: |
| 1526 | case objectValue: |
| 1527 | if (value_.map_) |
| 1528 | return const_iterator(value_.map_->begin()); |
| 1529 | break; |
| 1530 | default: |
| 1531 | break; |
| 1532 | } |
| 1533 | return {}; |
| 1534 | } |
| 1535 | |
| 1536 | Value::const_iterator Value::end() const { |
| 1537 | switch (type_) { |