How to update object in Mongo with an immutable Salat case class

后端 未结 3 1088
遥遥无期
遥遥无期 2021-01-24 16:51

I\'m working on a project with Scala, Salat, Casbah, Mongo, Play2, BackboneJS... But it\'s quite a lot of new things to learn in the same time... I\'m ok with Scala but I find m

3条回答
  •  [愿得一人]
    2021-01-24 17:14

    Salat handles JSON using lift-json - see https://github.com/novus/salat/wiki/SalatWithPlay2.

    Play itself uses Jerkson, which is another way to decode your model objects - see http://blog.xebia.com/2012/07/22/play-body-parsing-with-jerkson/ for an example.

    Feel free to make a small sample Github project that demonstrates your issue and post to the Salat mailing list at https://groups.google.com/group/scala-salat for help.

提交回复
热议问题