Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val query = for {
- bp <- EveDB.Industryblueprints
- t <- bp.blueprint if t.typename.toUpperCase like "%"+term2+"% BLUEPRINT"
- } yield (t.typeid, t.typename)
- val yy = query.list
- //yy map {List _}
- val json = Json.toJson(yy)
- No Json serializer found for type List[(Int, Option[String])]. Try to implement an implicit Writes or Format for this type.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement