CirceCodecs

org.mbari.vars.migration.etc.circe.CirceCodecs
object CirceCodecs

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

val CustomPrinter: Printer

Givens

Givens

given byteArrayDecoder: Decoder[Array[Byte]]
given byteArrayEncoder: Encoder[Array[Byte]]
given urlDecoder: Decoder[URL]
given urlEncoder: Encoder[URL]

Extensions

Extensions

extension (json: Json)
def stringify: String

Convert a circe Json object to a JSON string

Convert a circe Json object to a JSON string

Value parameters

value

Any value with an implicit circe coder in scope

Attributes

extension [T](jsonString: String)
def toJson: Either[ParsingFailure, Json]
extension (jsonString: String)
def reify[T : Decoder]: Either[Error, T]
extension [T](value: T)
def stringify: String

Convert an object to a JSON string

Convert an object to a JSON string

Value parameters

value

Any value with an implicit circe coder in scope

Attributes