webMethods

webMethods

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

Problem with Jason string to String type conversion

  • 1.  Problem with Jason string to String type conversion

    Posted Wed January 23, 2019 08:13 AM

    I have jason input which has 100 columns and need to pass 5 columns to other system based on validation on 1 column value.
    When I converted jasonstring to document , it is converting some column type as string type and some as 64 type.
    How to make all columns as string type.
    I am attaching the output in image attached.

    Jason input string:
    {“secondary_ideal_insurance_disability_annual_premium”:0,“pkey”:“N/A”,“secondary_life_insurance_term”:10,“province”:“on”,“kyc_feels_important”:“both_equal”,“primary_income_source_subsidy”:6942,“primary_cpp_received”:0,“primary_critical_insurance_annual_premium”:0,“secondary_disability_insurance_annual_premium”:0,“house_value”:500000,“primary_retirement_balance_non_reg_external”:0,“phone”:“555-5555”,“secondary_life_insurance_annual_premium”:3172,“primary_retirement_age”:65,“campaign_id”:“N/A”,“ppui_url”:“https://magnet.planswellstaging.ca/partner/VXNlcjoyZTYzYmVhMy0yNzEzLTQ5NGYtYWRmZi0wMmI5NGJjZjE1Yzc=?",“sms_verified”:true,“primary_non_reg_external”:0,“secondary_private_pension_expected”:0,"primary_critical_insurance_term”:0}
    image.PNG


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Problem with Jason string to String type conversion

    Posted Fri January 25, 2019 08:46 AM

    Hi, Please enable below property in extended setting.

    watt.server.json.decodeRealAsString = True

    Refer below link.


    #webMethods
    #Integration-Server-and-ESB