You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

org.errors4s:errors4s-core-circe-root_2.13

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

org.errors4s:errors4s-core-circe-root_2.13

errors4s-core-circe-root


Version published
Maintainers
1

Readme

Source

Errors For Scala (Core) Circe Instances

ScalaDoc

The Scaladoc for errors4s-core-circe may be viewed here.

Overview

This project provides circe typeclass instances for errors4s-core types.

Using

Add this to your libraryDependencies in your build.sbt.

    "org.errors4s" %% "errors4s-core-circe" % "1.0.0.0"
import io.circe._
import io.circe.syntax._
import org.errors4s.core._
import org.errors4s.core.circe.instances._

val nes: NonEmptyString = NonEmptyString("A nonempty string")
// nes: NonEmptyString = A nonempty string

val json: Json = nes.asJson
// json: Json = "A nonempty string"

val decodedNes: Decoder.Result[NonEmptyString] = Decoder[NonEmptyString].decodeJson(json)
// decodedNes: Decoder.Result[NonEmptyString] = Right(A nonempty string)

decodedNes == Right(nes)
// res0: Boolean = true

Version Support Matrix

This project uses Package Versioning Policy (PVP). This is to allow long term support (see this discussion). This table lists the currently supported, upcoming, and recently end of life versions.

If you need support for a version combination which is not listed here, please open an issue and we will endeavor to add support for it if possible.

VersionErrors4s CoreCirce VersionScala 2.11Scala 2.12Scala 2.13Scala 3.0Scala 3.1Supported
2.0.x.x1.0.x.x0.14.xNoYesYesYesYesYes
1.0.x.x1.0.x.x0.13.xNoYesYesNoNoYes

FAQs

Package last updated on 10 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc