Click here to view the converted JSON object
Please pay close attention to my question
Hello, in the code below I am attempting to convert XML data into a JSON object. With this converted JSON object, I am aiming to create a table using AngularJS. The issue arises when trying to load individual attributes of the JSON object such as {{employee.EmpId}}. Upon observation, I noticed that when theconverted JSON object is directly assigned:
$scope.Employees = { "Employee": [ {"EmpId": "4", "Name": "Chris", ...
The output aligns with my expectations. However, when I assign it as follows:
i.e., $scope.Employees = response.data; It does not work as expected. What might be causing this issue? Here, 'response.data' represents the result obtained from the success function.
Click here for the converted JSON object
https://i.sstatic.net/nwZ6a.png https://i.sstatic.net/shkh3.png