Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val newsSection = ((jsonRes.json \ "JP")(0) \ "NewsSection").as[JsObject]
- val category = newsSection.value.get("name").get.as[String].toLowerCase.replaceAll(" ", "-").replaceAll(",", "")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement