| 1399 | } |
| 1400 | |
| 1401 | const char* ValueIteratorBase::memberName() const { |
| 1402 | #ifndef JSON_VALUE_USE_INTERNAL_MAP |
| 1403 | const char* name = (*current_).first.c_str(); |
| 1404 | return name ? name : ""; |
| 1405 | #else |
| 1406 | if (!isArray_) |
| 1407 | return ValueInternalMap::key(iterator_.map_); |
| 1408 | return ""; |
| 1409 | #endif |
| 1410 | } |
| 1411 | |
| 1412 | // ////////////////////////////////////////////////////////////////// |
| 1413 | // ////////////////////////////////////////////////////////////////// |