Jump to content
The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now! See more information here ×

Can a JSON response be modified prior to XML conversion in TIBCO DV


Dave Richardson

Recommended Posts

The REST data source I am using provides data in JSON format.In JSONit is valid to have keys with spaces, and this is the problem. Spaces in key namesare not allowed in XML as the space is a delimiter.

Is there anyway to replace spaces in key names with, say, an underscore prior to converting to XML(i.e. "Business Unit" --> "Business_Unit") either in the data source or later on

It would be hugely beneficial for TDV to handle all valid JSON responses if the proper procedure is to convert a JSON response to XML directly in the data source.

Link to comment
Share on other sites

Dave, Your jpg's are on your 'C' drive.

 

<p>
<img alt="" src="C:UsersrichadavOneDrive - Husky EnergyDocumentsaaa_CCP Data Hub.jpg">
<img alt="" src="C:UsersrichadavOneDrive%20-%20Husky%20EnergyDocumentsaaa_CCP%20Data%20HubJSON%20to%20XML%20required%20configuration%20change.jpg">
<img alt="" src="C:UsersrichadavOneDrive%20-%20Husky%20EnergyDocumentsaaa_CCP%20Data%20HubJSON%20to%20XML%20required%20configuration%20change.jpg">
<img alt="" src="C:tempJSON_to_XML_required_configuration_change.jpg">
</p>

We can't see them.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...