JsonConverter

dev.mongocamp.driver.mongodb.json.JsonConverter
class JsonConverter extends CirceSchema

Attributes

Graph
Supertypes
trait CirceSchema
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def readJsonMap(fileContent: String): Map[String, Any]
def readJsonMapFromFile(fileName: String): Map[String, Any]
def toJson(s: Any): String
def toObject[A](jsonString: String)(implicit decoder: Decoder[A]): A

Inherited methods

def decodeFromJson(json: Json): Any

Attributes

Inherited from:
CirceSchema
def encodeAnyToJson(a: Any, deepth: Int): Json

Attributes

Inherited from:
CirceSchema
def encodeMapStringAny(a: Map[String, Any]): Json

Attributes

Inherited from:
CirceSchema
def productElementNames(internalProduct: Product): Iterator[String]

Attributes

Inherited from:
CirceProductSchema

Implicits

Inherited implicits

implicit val AnyFormat: Encoder[Any] & Decoder[Any]

Attributes

Inherited from:
CirceSchema
implicit val DateFormat: Encoder[Date] & Decoder[Date]

Attributes

Inherited from:
CirceSchema
implicit val DateTimeFormat: Encoder[DateTime] & Decoder[DateTime]

Attributes

Inherited from:
CirceSchema
implicit lazy val DocumentOneFormat: Decoder[Document]

Attributes

Inherited from:
CirceSchema
implicit lazy val DocumentTowFormat: Decoder[Document]

Attributes

Inherited from:
CirceSchema
implicit val MapStringAnyFormat: Encoder[Map[String, Any]] & Decoder[Map[String, Any]]

Attributes

Inherited from:
CirceSchema
implicit val ObjectIdFormat: Encoder[ObjectId] & Decoder[ObjectId]

Attributes

Inherited from:
CirceSchema