IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Force pub.json:documentToJSONString to generate a string containig string elements only

  • 1.  Force pub.json:documentToJSONString to generate a string containig string elements only

    Posted Mon January 08, 2018 11:50 AM

    Hi there,

    i am looking for a possiblity to run pub.json:documentToJSONString and to get json string that contains string values only.
    My input document for pub.json:documentToJSONString contains string objects only, but somehow the exported string also contains numbers.

    {
    “StoreId”: “DE2550”,
    “BankCode_Number”: 12346578
    }

    We are using IS 9.7.

    Thank you for any helpful reply.

    Regards,
    Martin


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Force pub.json:documentToJSONString to generate a string containig string elements only

    Posted Mon January 08, 2018 12:00 PM

    I checked that thing again and found out, pub.json:documentToJSONString is working correctly and exports all values as string.

    The conversion from string to number comes from XML Spy.


    #webMethods
    #Integration-Server-and-ESB