3
package object native {
4
def parseJson(in: JsonInput, useBigDecimalForDouble: Boolean = false): JValue =
5
JsonMethods.parse(in, useBigDecimalForDouble)
7
def parseJsonOpt(in: JsonInput, useBigDecimalForDouble: Boolean = false): Option[JValue] =
8
JsonMethods.parseOpt(in, useBigDecimalForDouble)
10
def renderJValue(value: JValue)(implicit formats: Formats = DefaultFormats): Document =
11
JsonMethods.render(value)(formats)
13
def compactJson(d: Document): String = JsonMethods.compact(d)
15
def prettyJson(d: Document): String = JsonMethods.pretty(d)