IBM Support

IT16439: JSON PARSER ESCAPES FORWARD SLASHES ON SERIALIZATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as new function.

Error description

  • When serializing a message tree the JSON parser escapes forward
    slash characters so that values such as "http://myURI" appear as
    "http:\/\/myURI" in the output bitstream.
    While this is a legal representation according to the JSON
    specification it causes interoperability problems for some
    clients.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of IBM Integration Bus v10.0 using the JSON parser.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    When serializing a message tree the JSON parser escapes forward
    slash characters so that values such as "http://myURI" appear as
    "http:\/\/myURI" in the output bitstream.
    
    While this is a legal representation according to the JSON
    specification it causes interoperability problems for some
    clients.
    
    There are a number of resource name changes between WebSphere
    Message Broker and IBM Integration Bus Version 9.0.  For details
    visit
    http://pic.dhe.ibm.com/infocenter/wmbhelp/v9r0m0/topic/com.ibm.e
    tools.mft.doc/bb23814_.htm
    

Problem conclusion

  • The JSON parser has been modified so that the escape scheme can
    be customized. A new property "escapeMode" has been added to the
    ComIbmJSONParserFactory. This property takes the values
    "preserveForwardSlashes" or "strict". The default is "strict".
    
    If "strict" is selected then forward slashes are escaped in the
    output bitstream.
    
    If "preserveForwardSlashes" is selected then forward slashes are
    preserved in the output bitstream.
    
    The property can be set using mqsichangeproperties for example:
    
    mqsichangeproperties <integration_node_name> -e
    <integration_server_name> -o ComIbmJSONParserFactory -n
    escapeMode -v preserveForwardSlashes
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v10.0      10.0.0.7
    
    The latest available maintenance can be obtained from:
    http://www-01.ibm.com/support/docview.wss?rs=849&uid=swg27006041
    
    If the maintenance level is not yet available,information on
    its planned availability can be found on:
    http://www-1.ibm.com/support/docview.wss?rs=849&uid=swg27006308
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT16439

  • Reported component name

    INTEGRATION BUS

  • Reported component ID

    5724J0540

  • Reported release

    A00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-08-03

  • Closed date

    2017-06-22

  • Last modified date

    2017-06-22

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    INTEGRATION BUS

  • Fixed component ID

    5724J0540

Applicable component levels

  • RA00 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSNQK6","label":"IBM Integration Bus"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.0"}]

Document Information

Modified date:
14 December 2020