IBM Support

IT27270: JSON PARSER ACCEPTS OBJECTS WITH DUPLICATE KEYS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The JSON parser and serializer will accept objects that have
    multiple keys with the same name. JSON objects with duplicate
    keys are invalid and a ParserException should be thrown during
    an attempt to parse or serialize invalid objects of this type.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All users of IBM Integration Bus version 10 and App Connect
    Enterprise version 11 using the JSON parser
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    When parsing or serialising using the JSON parser duplicate keys
    are permitted in both objects and arrays. This does not conform
    to the JSON specification.
    

Problem conclusion

  • This APAR introduces a new property "objectStructure" on the
    ComIbmJSONParserFactory Resource Manager. When set to the value
    "strict" this will cause the parser to emit a BIP5734 error when
    parsing objects or arrays with duplicate keys or a BIP5733 error
    when serializing trees that would result in a JSON object that
    has an array or object with duplicate keys.
    
    In Integration Bus Version 10 this new property can be set using
    mqsichangeproperties, on App Copnnect v11 the property can be
    customised in the server.conf.yaml files.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v10.0      10.0.0.16
    v11.0      11.0.0.4
    
    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

    IT27270

  • 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

    2018-12-17

  • Closed date

    2019-04-04

  • Last modified date

    2019-04-04

  • 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

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

Document Information

Modified date:
04 April 2019