• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Transform CFHTTP GET result to XML

New Here ,
Dec 28, 2017 Dec 28, 2017

Copy link to clipboard

Copied

Hello

What is the easiest way to transform a cfhttp get result to xml?

I refer to a string like this:

{"ticker":{"base":"BTC","target":"NEO","price":"233.95972149","volume":"","change":"-0.55305476"},"timestamp":1514451062,"success":true,"error":""}

Would be happy to solve this issue

Thanks a lot

Thomas

Views

315

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Dec 28, 2017 Dec 28, 2017

What you present looks like a JSON string.  If you convert it to a JSON object (which is a struct) it should be simple to convert to XML.

HTH,

^ _ ^

Votes

Translate

Translate
LEGEND ,
Dec 28, 2017 Dec 28, 2017

Copy link to clipboard

Copied

What you present looks like a JSON string.  If you convert it to a JSON object (which is a struct) it should be simple to convert to XML.

HTH,

^ _ ^

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 28, 2017 Dec 28, 2017

Copy link to clipboard

Copied

Thanks a lot!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 28, 2017 Dec 28, 2017

Copy link to clipboard

Copied

LATEST

Thank you for marking my answer as correct.  I do appreciate it.

V/r,

^ _ ^

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation