greencatsoft / scalajs-angular

AngularJS Binding for Scala.js
Apache License 2.0
252 stars 42 forks source link

Json deserialization #108

Closed vasigorc closed 7 years ago

vasigorc commented 7 years ago

Hello and thank you for the scalajs-angular endeavor.

I want to try a small project using your library, however the small question that I have will probably be unrelated to that.

When in the tutorial you write val future: Future[User] = http.get("/users/john") how are you deserializing the Json string into a Scalajs object?

Thank you

mysticfall commented 7 years ago

Hi, I'm using uPickle for my project, and used Prickle before too, and both of them worked quite well with this project.

Please let me know if you need further help. Thanks!

vasigorc commented 7 years ago

Hi, I'm using uPickle

That's neat. Thanks. I probably will as I advance with my project.