You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like a function that's the opposite of !JsonString to support my use cases. The general use case is to convert a string to a json object then pass it to a cloudformation or TemplatingContext parameter.
If !Cmd doesn't work then how about a new org-formation !Request function would basically do a "curl -X GET https://dog.ceo/api/breed/hound/list"? This is how it would work..
Get data from a REST API endpoint, convert the string to a json dictionary object and then pass it to the hounds TemplatingContext parameter:
Subject
I would like a function that's the opposite of !JsonString to support my use cases. The general use case is to convert a string to a json object then pass it to a cloudformation or TemplatingContext parameter.
Use cases
These use cases are derived from the Templating context example in the docs:
Read ports in from a file, convert the string to a json list object and then pass it to the ports parameter:
Get data from a REST API endpoint, convert the string to a json dictionary object and then pass it to the hounds TemplatingContext parameter:
The text was updated successfully, but these errors were encountered: