Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

JSON to XML: Invalid ObjectRootElementName with Colon

Not applicable

I have a request body that is being converted from JSON to XML.

The ObjectRootElementName I am trying to use has a colon in it (something:another).

It's throwing an invalid XML structural format. Is there any way around this? What I am trying to create is an XML format of:

<something:another>

<data>

</data>

</something:another>

Thanks.

0 1 303
1 REPLY 1