MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / getMemberNames

Method getMemberNames

json/jsoncpp.cpp:3748–3762  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3746#endif
3747
3748Value::Members Value::getMemberNames() const {
3749 JSON_ASSERT_MESSAGE(
3750 type_ == nullValue || type_ == objectValue,
3751 "in Json::Value::getMemberNames(), value must be objectValue");
3752 if (type_ == nullValue)
3753 return Value::Members();
3754 Members members;
3755 members.reserve(value_.map_->size());
3756 ObjectValues::const_iterator it = value_.map_->begin();
3757 ObjectValues::const_iterator itEnd = value_.map_->end();
3758 for (; it != itEnd; ++it) {
3759 members.push_back(JSONCPP_STRING((*it).first.data(), (*it).first.length()));
3760 }
3761 return members;
3762}
3763//
3764//# ifdef JSON_USE_CPPTL
3765// EnumMemberNames

Callers 2

validateMethod · 0.80
writeValueMethod · 0.80

Calls 6

push_backMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
dataMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected