You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Conversion of XML to JSON in desired format by excluding the root node

edited Aug 24, 2017 7:00AM in Integration 4 comments

Summary

Conversion of XML to JSON in desired format by excluding the root node

Content

Hi Team,

While conversion of JSON data to a desired result format [ excluding the root node]. Could you please assist on the feasible solution to conversion

your inputs will be highly appreciated.

Example:

{

   "shipmentRequest": {

      "@xmlns": "",

      "@soap": "http://schemas.xmlsoap.org/wsdl/soap/",

      "@nstrgdfl": "http://xmlns.oracle.com/procmon",

      "@plnk": "http://schemas.xmlsoap.org/ws/2003/05/partner-link/",

      "@wsdl": "http://schemas.xmlsoap.org/wsdl/",

      "Kind": "1",

      "ActorCSID": "63",

      "ProdConceptID": "1032",

      "Addresses": [

         {

            "Kind": "1",

            "Name1": "Test sender",

            "Street1": "Test Address",

            "PostCode": "0580",

            "City": "OSLO",

            "Phone": "23249480",

            "Mobile": "04799999999",

            "Attention": "test",

            "CountryCode": "NO"

         },

         {

            "Kind": "2",

            "Name1": "Test sender2",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!