| 1380 | |
| 1381 | |
| 1382 | const char * |
| 1383 | ValueIteratorBase::memberName() const |
| 1384 | { |
| 1385 | #ifndef JSON_VALUE_USE_INTERNAL_MAP |
| 1386 | const char *name = (*current_).first.c_str(); |
| 1387 | return name ? name : ""; |
| 1388 | #else |
| 1389 | if ( !isArray_ ) |
| 1390 | return ValueInternalMap::key( iterator_.map_ ); |
| 1391 | return ""; |
| 1392 | #endif |
| 1393 | } |
| 1394 | |
| 1395 | |
| 1396 | // ////////////////////////////////////////////////////////////////// |