ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Search

 Search found 3 matches
Author Message
  Topic: How to convert XML to JSON Array
venkatachalam

Replies: 10
Views: 10444

PostForum: WebSphere Message Broker (ACE) Support   Posted: Wed Jul 12, 2017 4:19 am   Subject: How to convert XML to JSON Array
Hi All
I use loop with reference variable

DECLARE X INTEGER;
DECLARE Y INTEGER 1;
DECLARE M INTEGER;
DECLARE N INTEGER 1;

SET OutputRoot.JSON.Data.Item.DeviceSerialNo = InputRoot ...
  Topic: How to convert XML to JSON Array
venkatachalam

Replies: 10
Views: 10444

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Jul 04, 2017 10:58 pm   Subject: How to convert XML to JSON Array
[
{
"DeviceSerialNo": "8800099004",
"DeviceCategory": "MTR_3PH_WC_ELEC2",
"DeviceDescription": &q ...
  Topic: How to convert XML to JSON Array
venkatachalam

Replies: 10
Views: 10444

PostForum: WebSphere Message Broker (ACE) Support   Posted: Tue Jul 04, 2017 10:38 pm   Subject: How to convert XML to JSON Array
The below XML message is input
<Item>
<DeviceSerialNo>8800099004</DeviceSerialNo>
<DeviceCategory>MTR_3PH_WC_ELEC2</DeviceCategory>
...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.