JsonParser

org.sigilaris.core.codec.json.ops.JsonParser
trait JsonParser

Pure interfaces for parsing and printing JSON using backend implementations.

These traits define backend-agnostic operations for JSON string parsing and printing. Implementations (e.g., Circe) must not leak their own AST types outside this package.

Attributes

See also
Source
JsonOps.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object CirceJsonOps

Members list

Value members

Abstract methods

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

Parses a JSON string into a JsonValue.

Parses a JSON string into a JsonValue.

Value parameters

input

the JSON string

Attributes

Returns

either a parse failure or the parsed JSON value

Source
JsonOps.scala