Skip to content

Problem when I use jsonpath to get JSON object #8930

Closed Answered by agilgur5
DiegoFlop asked this question in Q&A
Discussion options

You must be logged in to vote

You mean you want to convert the Go map to a JSON string? In 3.4 you can try asStr(v), or in 3.5 you can try string(v) or perhaps toJSON(v)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@agilgur5
Comment options

Answer selected by agilgur5
@jheilgeist
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/templating Templating with `{{...}}`
4 participants