The Database Limits parcel includes a flag that indicates the maximum length in bytes of the JSON data type. This value is 16776192.
7 -Database-limit
+0 (char) -Maximum parcel size
'0' -32767
'1' -65535
+1 (byte) UNUSED
+2 (16-bit int) -Maximum segment count
0 -Segments not supported
+4 (32-bit int) -Maximum segment size
+8 (32-bit int) -Max. avail. bytes in perm row
.
.
.
+124 (32-bit int) -Max. avail. bytes in response row
+128 (32-bit int) -Max. bytes in a JSON