CirceJsonOps

org.sigilaris.core.codec.json.backend.circe.CirceJsonOps

Circe-backed parser and printer that operate on the core JsonValue.

Provides JSON parsing and printing using the Circe library while converting to/from the library-agnostic JsonValue AST.

Attributes

Source
CirceJsonOps.scala
Graph
Supertypes
trait JsonPrinter
trait JsonParser
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def parse(input: String): Either[ParseFailure, JsonValue]

Parses a JSON string using Circe and converts to JsonValue.

Parses a JSON string using Circe and converts to JsonValue.

Value parameters

input

the JSON string to parse

Attributes

Returns

either a parse failure or the parsed JsonValue

Source
CirceJsonOps.scala