playframework/Play20 — pull request #1242 by jroper (2013-06-25 17:00:39+00:00)
Title: Json.parse("null") returns null instead of JsNull

The play.api.libs.json.Json.parse("null") returns null instad of expected JsNull.

Play version: 2.1.1
OS: Darwin zz.local 12.4.0 Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64
Java: java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)
```
scala> import play.api.libs.json._
import play.api.libs.json._
scala> Json.parse("true") == JsBoolean(true)
res0: Boolean = true
scala> Json.parse("true") == true
res1: Boolean = false
scala> Json.parse("[]") == JsArray()
res2: Boolean = true
scala> Json.parse("null") == JsNull
res3: Boolean = false
scala> Json.parse("null") == null
res4: Boolean = true
```

Funny result of this behavior is result of ```scala> scala.util.control.Exception.nonFatalCatch.opt```:

```
scala> scala.util.control.Exception.nonFatalCatch.opt { Json.parse("null") }
res5: Option[play.api.libs.json.JsValue] = Some(null)
```