#@ load("@ytt:url", "url")

url_value: #@ {"key": url.parse("http://example.com")}

+++

ERR: 
- __ytt_tplXXX_set_node: Unable to convert value: @ytt:url.value does not automatically encode (hint: use .string())
    in <toplevel>
      stdin:3 | url_value: #@ {"key": url.parse("http://example.com")}