Dynamic JSON data integration. Generate URL #118
Unanswered
armonkolaei
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Amazing project :)
What would be the way to have dynamic JSON data send over to be viewed or embedded?
I have a list of JSON objects and for each row I want to generate the iFrame url and or link to this page.
I tried URL encoding the JSON but it fails.
What am I doing wrong?
example:
{
"squadName": "Super hero squad"
}
using online tool:
https://onlinejsontools.com/url-encode-json#:~:text=Json%20url%2Dencoder%20tool%20What,percent%2Dnumber%2Dnumber%20format.&text=This%20example%20URL%2Descapes%20a%20JSON%20array.
JSON url encoded:
%7B%0A%20%20%22squadName%22%3A%20%22Super%20hero%20squad%22%0A%7D
now I generate the url as:
https://jsoncrack.com/editor?json=%7B%0A%20%20%22squadName%22%3A%20%22Super%20hero%20squad%22%0A%7D
This fails, so please let me know how I can generate the link.
Thanks,
Beta Was this translation helpful? Give feedback.
All reactions