cancel
Showing results for 
Search instead for 
Did you mean: 

removed......

former_member489109
Participant
View Entire Topic
ThorstenHoefer
Active Contributor
0 Kudos

Hi Burak,

what is about this approach.

this.getModel().read("/MyEntity",{
success(oData){
var _oPerson = oData.result; var _nameFirst = _oPerson.FirstName; ... } });
former_member489109
Participant
0 Kudos

Hi Thorsten,

Thank you for your answer.I know how to reach this elements inside json. My problem is not that. My purpose is deleting the "results" tags from the returned odata json by dynamically. So I want the converted json does not have any result tag at the end

ThorstenHoefer
Active Contributor
0 Kudos

Hi Burak,

you can create a new Json String with


oData.result.Education = oData.result.Education.result;
JSON.stringify(oData.result)