jsonhero-web
jsonhero-web copied to clipboard
Support automatically converting YAML/XML to JSON
I need this feature too! Please implement it.
JFI: Converting XML to JSON is not a straightforward process, as one of the solutions consider using Conversion Tools XML to JSON online converter (it has limitations, but for small files and personal use - it should fit). Also, many available converters and libraries don't convert complex XML structures, for example, the following:
<?xml version="1.0" encoding="UTF-8"?>
<letter>
<title maxlength="10">Quote Letter</title>
<salutation limit="60">Dear Daniel,</salutation>
<text>Thank you for sending us the information on <emphasis>SDL Trados Studio 2009</emphasis>.</text>
<title maxlength="40">Quote Details</title>
<text>Please send us a quote for 50 licenses. Keep up the good work!</text>
</letter>
@ericallam @drdmitry Would you give me a nod to work on this feature?
@kvooak happy for you to give it a shot. Keep in mind that we use Cloudflare Workers for hosting so any solution will need to work in their runtime: https://developers.cloudflare.com/workers/learning/how-workers-works/
This feature has been partly implemented by @kvooak in this PR:
https://github.com/apihero-run/jsonhero-web/pull/93
You can now submit XML and it'll get converted to JSON. Currently it only works when pasting in XML to the text box
hi @ericallam , is the YAML to JSON part is also implemented, or is it still open for implementation?