JObjectParser

org.json4s.mongo.JObjectParser$

Attributes

Source:
JObjectParser.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

object Parser

Attributes

Source:
JObjectParser.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Parser.type

Value members

Concrete methods

def defaultStringProcessor(s: String): Object

Attributes

Source:
JObjectParser.scala
def parse(jo: JValue)(implicit formats: Formats): DBObject

Attributes

Source:
JObjectParser.scala
def serialize(a: Any)(implicit formats: Formats): JValue

Attributes

Source:
JObjectParser.scala

Concrete fields

val stringProcessor: AtomicReference[String => Object]

Set this to override JObjectParser turning strings that are valid ObjectIds into actual ObjectIds. For example, place the following in Boot.boot:

Set this to override JObjectParser turning strings that are valid ObjectIds into actual ObjectIds. For example, place the following in Boot.boot:

JObjectParser.stringProcessor.default.set((s: String) => s)

Attributes

Source:
JObjectParser.scala