avatar image
1
Can I present BB data as XML (in stead of JSON)
By Created

Hi,

I'd basically like to know if there's a json_to_xml() expression.

I'd like to use a custom api endpoint in which I would render record(s) as XML without having to build the XML manually.


So in stead of using:

to_json(var:record)

I want to use

to_xml(var:record)      [ or json_to_xml(to_json(var:record)) ]


I've found a the to_json() expression and the xml_to_json() expressions in the expression reference, but not the other way around?

Is this possible?


Hi,

I'd basically like to know if there's a json_to_xml() expression.

I'd like to use a custom api endpoint in which I would render record(s) as XML without having to build the XML manually.


So in stead of using:

to_json(var:record)

I want to use

to_xml(var:record)      [ or json_to_xml(to_json(var:record)) ]


I've found a the to_json() expression and the xml_to_json() expressions in the expression reference, but not the other way around?

Is this possible?

Answers
Sort by:

Please login to reply to the topic.