-
-
Notifications
You must be signed in to change notification settings - Fork 241
Using Http and .json() - unexpected result. #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @matt4446 That turned out to be caused by a bug in our You could test it in your app by changing your |
Perfect. |
@hdeshev I'm still having trouble with this (android). Shouldn't this now be part of 1.6? package.json
I've tried switching to 1.6.0-angular-2 on my main project, but the response still does not deserialize into an array there either. Pretty much the same code again
items.forEach fails as well. |
@matt4446 My code here looks almost the same, and it works. The only difference is that I just tried it with [email protected]. Could you try upgrading to that version? I also upgraded the project to the latest angular renderer and Angular beta-6. |
thanks @hdeshev So change the package.json? Am i missing something simple? I made the upgrade to 1.6 yesterday and now have several other things working like the Array.create on the animation. Some other things have changes like the border element disapearing on the view ... |
cmd line...
|
* chore: update short imports * remove FontAwesome import
I've taken a look at the previous issue taking me to here
, but seems unrelated.
Im expecting an Array from .json() but I cant iterate over it, or get the length.
Testing in Android...
My current code
The call is correct.
.Text() has the expected outcome.
.JSON() appears to work - but i cant get any data from it.
Expected: Array (well Array)
Its working correctly in a ionic2 application link.
Here is the Logging for that view:

I've included your json passed log line. Any thoughts?
best regards,
Matt
The text was updated successfully, but these errors were encountered: