{ {% for p in post %} "namef": '{{p.name}}', "fname": '{{p.fname}}', "rank": '{{p.rank}}' {% endfor %} }