Anton

Results 3 comments of Anton

I think I hurried. After JSON we need validate data, so direct converting JSON to BSONDocument is redundant. 1. BSONDocument http://reactivemongo.org/releases/0.11/api/index.html#reactivemongo.bson.BSONDocument 2. No, validation or changing some data

> It's needed for be sure thats email is email and age not 999? > Yes, something like this. Here some data types classes http://reactivemongo.org/releases/0.11/documentation/bson/typeclasses.html and http://reactivemongo.org/releases/0.11/documentation/json/overview.html

For example, all data that comes from frontend must be checked