Feature #226

Updated by Madars over 6 years ago

We shall design support for embedded UBF field support. And design some kind of API to operate with embedded buffers.

for example:

CBEget(p_ub, {C_BUF1, 2, C_BUF2_UNDEF_BUF1, 1, C_FIELD3, BADFLD}, occ, "HELLO WORLD", len, BFLD_STRING)

Here the path to embedded data would be set through the array of fields:
C_BUF1 -> embedded buffer 1 in the p_ub, occurrence 2
C_BUF2 -> embedded buffer in the C_BUF1, occurrence 1

C_FIELD3 ->String data field in C_BUF2

<pre>
The string path then would look like: "C_BUF[2].C_BUF2_UNDEF_BUF1[1].C_FIELD3" this would identify the exact field in embedded buffers.
</pre>


The recursive support shall be made in bridge and boolean expressions too.

This would allow to create the structural mappings of the JSON with embedded objects of multi levels

Back