IBM Support

IIB/ACE - ASSIGNING BLOB FIELDS TO A JSON PARSER RESULTS IN AN EMPTY VALUE IF THE LENGTH IS OVER 2047 CHARS

Troubleshooting


Problem

When assigning a BLOB field to a field in a JSON parser, the result is empty if the size of the BLOB is greater than 2047 Characters.                                              

 For example,                                                 

 CREATE LASTCHILD OF OutputRoot DOMAIN('JSON');                

 SET OutputRoot.JSON.Data.Folder.message.content = myBlob;     

SET OutputRoot.JSON.Data.Folder.message.size = LENGTH(myBlob);

 

Produces the following output if myBlob is larger than 2047 chars:                                                        

 {"Folder":{"message":{"content":"{"Folder":{"message":{"content":"","size":15005}}}          

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"ARM Category":[{"code":"a8m0z0000001fzXAAQ","label":"ACEv11-\u003EMessage Flow"}],"ARM Case Number":"TS003535159","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
28 April 2025

UID

ibm16203171