zclconf / go-cty

A type system for dynamic values in Go applications
MIT License
348 stars 71 forks source link

cty/json: configure (non-)HTML-escaping serialization #156

Closed johakoch closed 6 months ago

johakoch commented 1 year ago

marshal() uses json.Marshal() which encodes using HTMLEscape:

So that the JSON will be safe to embed inside HTML Githubissues.

  • Githubissues is a development platform for aggregating issues.