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
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
28 April 2025
UID
ibm16203171