Hi Sander, Yes, you were right, I found the problem. Basically, the back-end returns an object of class BundleList which contains a List<Bundle> named bundles. Hence the Java to JSON serializing process creates a ket/value pair having the name "bundles" with the value a List<Bundle>. This explains the behaviour I have reported. Initially, the back-end was returning the List<Bundle> directly and it has been modified lastly, hence my wrong expectations.
Many thanks for having allowed me to find a pertinent explanation. Kind regards, Nicolas Le jeudi 24 août 2017 04:09:44 UTC+2, Sander Elias a écrit : > > Hi Duminil, > > I have no idea on your server-side code. I prefer to stay away off java. > There is some sort of wrapping going on in there for sure. To know why, you > should examine your server side stack, and work yourself through the > taxonomy of that. > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
