If person.json contained
{"name": "Doe, Jane", "email":"jd@example.org", "age": 42}
and the template, name.tmpl, contained
{{- .name -}}
Getting just the name could be done with
cat person.json | jsonmunge name.tmpl
This would yield
"Doe, Jane"