for (const auto& ptFieldId : extractedField.second.get_child("FieldIDs")) { int fieldId = ptFieldId.second.get_value<int>();