on 2024 Aug 12 5:33 PM
I need create an api that will return structure that one of is fields is table base on structure that one of his fields is table too.
implementing $expended entity is too much complicated
what i do now is return a string
and in the front end i do json parse ( and it is not comfort because i need run over all boolean values and convert 'x' to true... )
can i return json object without instriction of flat entity?
There is no way to do that in OData V2, other than what you have already discovered: tunnel your deep structure in a JSON string.
OData V2 does not support collection-valued properties, which is one of the many reasons why we moved forward to OData V4 ten years ago.
Maybe you want to switch to V4.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
11 | |
10 | |
10 | |
9 | |
9 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.