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

206

Likes

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,^ _ ^

Likes

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,

^ _ ^

Likes

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!

Likes

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,

^ _ ^

Likes

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