Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support automatically converting YAML/XML to JSON #78

Open
ericallam opened this issue Jun 8, 2022 · 6 comments
Open

Support automatically converting YAML/XML to JSON #78

ericallam opened this issue Jun 8, 2022 · 6 comments

Comments

@ericallam
Copy link
Member

No description provided.

@skudryk
Copy link

skudryk commented Jun 9, 2022

I need this feature too! Please implement it.

@drdmitry
Copy link

drdmitry commented Sep 7, 2022

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>

@kvooak
Copy link
Contributor

kvooak commented Sep 12, 2022

@ericallam @drdmitry Would you give me a nod to work on this feature?

@ericallam
Copy link
Member Author

@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/

@ericallam
Copy link
Member Author

This feature has been partly implemented by @kvooak in this PR:

#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

@sumanpal97
Copy link

hi @ericallam , is the YAML to JSON part is also implemented, or is it still open for implementation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants