Zumasys Homepage
Forum Home Forum Home > AccuTerm > Scripting & Automation
  New Posts New Posts RSS Feed - How can I convert JSON to XML in 2K2?
  FAQ FAQ  Forum Search   Register Register  Login Login

How can I convert JSON to XML in 2K2?

 Post Reply Post Reply
Author
Message
rsine View Drop Down
Groupie
Groupie


Joined: May 18 2007
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote rsine Quote  Post ReplyReply Direct Link To This Post Topic: How can I convert JSON to XML in 2K2?
    Posted: March 05 2019 at 4:17am
Can someone provide a script example of how a JSON string can be converted to XML in 2K2?   
Back to Top
TonyG View Drop Down
Beta Tester
Beta Tester


Joined: February 04 2004
Location: United States
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote TonyG Quote  Post ReplyReply Direct Link To This Post Posted: March 20 2019 at 10:00am
That's not actually a question regarding AccuTerm. It's more of a question about how to code with the server to which AccuTerm is connected.

I welcome you to join a community forum to ask your question, and please tell the group which Pick/MV platform you are using. Good luck!

http://groups.google.com/group/mvdbms
Tony Gravagno Nebula Research & Development
TG@ Nebula-RnD . com
http://Nebula-RnD.com/blog
http://Twitter.com/TonyGravagno
http://groups.google.com/group/mvdbms
https://www.linkedin.com/groups/64935
Back to Top
rsine View Drop Down
Groupie
Groupie


Joined: May 18 2007
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote rsine Quote  Post ReplyReply Direct Link To This Post Posted: March 20 2019 at 10:09am
Tony,

I'm using MVEnterprise.  The reason I asked about an Accuterm example is because I tried so many Google searched solutions that didn't work, I figured it had to be something with Accuterm.
Back to Top
TonyG View Drop Down
Beta Tester
Beta Tester


Joined: February 04 2004
Location: United States
Status: Offline
Points: 89
Post Options Post Options   Thanks (0) Thanks(0)   Quote TonyG Quote  Post ReplyReply Direct Link To This Post Posted: March 21 2019 at 10:11am
The best approach for things like this is to step outside of the MV box. You're not dealing with a MV-specific challenge. So you can Google for "json to xml" and you will find a ton of OS-level solutions. So all you need to do is to write the data to the OS, Execute an OS command to operate on that data, and if necessary you can read it back in for post-processing. This is not inelegant. It's using the tools that are available, effectively and quickly. The solution does not need to be in the DBMS or in connectivity tools.

HTH
Tony Gravagno Nebula Research & Development
TG@ Nebula-RnD . com
http://Nebula-RnD.com/blog
http://Twitter.com/TonyGravagno
http://groups.google.com/group/mvdbms
https://www.linkedin.com/groups/64935
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.10
Copyright ©2001-2017 Web Wiz Ltd.