playframework/Play20 — comment on commit 63448578b15dcc7bf4806878c7b3aa4c74193af6
File: framework/play/src/main/scala/play/api/JSON.scala line 38
By julienrf:

Why not move this method in `PlayJsObject`, in order to avoid the runtime exception?
But ok, it will be redundant with the `apply` method…
So, what’s the use case motivating this method?
I really think runtime exception are just traps that must be avoided at all prices, maybe this method should return an `Option[JsValue]`?