Skip to content
Snippets Groups Projects
Commit 5407ceb2 authored by Alexander Holodov's avatar Alexander Holodov
Browse files

18: updated example

parent e48c24fa
No related branches found
No related tags found
1 merge request!1918: added c++ library
......@@ -17,10 +17,9 @@ int main(void) {
form.entityuuid = account.uuid;
auto entity = v.EntityGetEntity(account, form);
for (auto e = entity.begin(); e != entity.end(); ++e) {
std::cout << "activated:" << (*e).created << std::endl;
for (auto& kv : (*e).claims) {
std::cout << kv.first << " " << (*e).claims[kv.first].tags["registration"].value["value"] << std::endl;
for (auto &e : entity) {
for (auto& kv : e.claims) {
std::cout << kv.first << " " << e.claims[kv.first].tags["registration"].value["value"] << std::endl;
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment