Escape JSON special characters in EDS JSONTOXML function call

Solution Verified - Updated -

Issue

  • error when there is special characters in the JSON output that we get from REST API call.
For example,  below has single quote as shown below (i.e. Char's ) and  JSONTOXML is throwing  an error.
"name" : "Alex and Char's Space",

Environment

  • Red Hat JBoss Data Services (EDS) 5.3.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.