{ "data": [ { "style": "normal" , "_key": "8a1fd7b434db11443bf33bc3a2428b64" , "_type": "block" , "children": { "_key": "4CqD4zbB" , "_type": "span" , "marks": [] , "text": "WALL·E is the last robot left on an Earth" } , "markDefs": [] } ] }
{{ "https://discourse.gohugo.io/t/parsejson/10247" | markdownify }} {{ range $overview := .Params.data }} {{ printf "#v:%#v)" $overview }} 1) {{ $overview.children.text }} {{ end }} {{- template "myTpl1" (index .Params.data 0) }} {{- define "myTpl1"}} {{/* printf "#v:%#v)" . */}} {{ .children.text }} {{- end}}
https://discourse.gohugo.io/t/parsejson/10247 #v:map[string]interface {}{"markDefs":[]interface {}{}, "style":"normal", "_key":"8a1fd7b434db11443bf33bc3a2428b64", "_type":"block", "children":map[string]interface {}{"_key":"4CqD4zbB", "_type":"span", "marks":[]interface {}{}, "text":"WALL·E is the last robot left on an Earth"}}) 1) WALL·E is the last robot left on an Earth WALL·E is the last robot left on an Earth