| 3884 | } |
| 3885 | |
| 3886 | Value::const_iterator Value::begin() const { |
| 3887 | switch (type()) { |
| 3888 | case arrayValue: |
| 3889 | case objectValue: |
| 3890 | if (value_.map_) |
| 3891 | return const_iterator(value_.map_->begin()); |
| 3892 | break; |
| 3893 | default: |
| 3894 | break; |
| 3895 | } |
| 3896 | return {}; |
| 3897 | } |
| 3898 | |
| 3899 | Value::const_iterator Value::end() const { |
| 3900 | switch (type()) { |