fezziwig


License

License

GroupId

GroupId

com.gu
ArtifactId

ArtifactId

fezziwig_2.11
Last Version

Last Version

1.2
Release Date

Release Date

Type

Type

jar
Description

Description

fezziwig
fezziwig
Project URL

Project URL

https://github.com/guardian/fezziwig
Project Organization

Project Organization

com.gu
Source Code Management

Source Code Management

https://github.com/guardian/fezziwig

Download fezziwig_2.11

How to add to project

<!-- https://jarcasting.com/artifacts/com.gu/fezziwig_2.11/ -->
<dependency>
    <groupId>com.gu</groupId>
    <artifactId>fezziwig_2.11</artifactId>
    <version>1.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.gu/fezziwig_2.11/
implementation 'com.gu:fezziwig_2.11:1.2'
// https://jarcasting.com/artifacts/com.gu/fezziwig_2.11/
implementation ("com.gu:fezziwig_2.11:1.2")
'com.gu:fezziwig_2.11:jar:1.2'
<dependency org="com.gu" name="fezziwig_2.11" rev="1.2">
  <artifact name="fezziwig_2.11" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.gu', module='fezziwig_2.11', version='1.2')
)
libraryDependencies += "com.gu" % "fezziwig_2.11" % "1.2"
[com.gu/fezziwig_2.11 "1.2"]

Dependencies

compile (5)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.11.12
io.circe : circe-core_2.11 jar 0.11.1
io.circe : circe-generic_2.11 jar 0.11.1
org.apache.thrift : libthrift jar 0.12.0
com.twitter : scrooge-core_2.11 jar 19.3.0

test (4)

Group / Artifact Type Version
io.circe : circe-parser_2.11 jar 0.11.1
org.scalatest : scalatest_2.11 jar 3.0.3
com.github.agourlay : cornichon_2.11 jar 0.10.4
org.gnieh : diffson-circe_2.11 jar 2.1.1

Project Modules

There are no modules declared in this project.

Fezziwig

Maven Central Build Status

Fezziwig is a library for compile time generation of Circe encoders/decoders for Scrooge-generated classes representing Thrift objects.

Installation

libraryDependencies ++= Seq(
  "com.gu" %% "fezziwig" % "0.6"
)

Usage

import com.gu.fezziwig.CirceScroogeMacros._

The generated decoders support accumulation of errors, e.g.

import com.gu.fezziwig.CirceScroogeMacros._
val decoder = Decoder[MyThriftStruct]
val result = decoder.accumulating(json.hcursor)
com.gu

The Guardian

The source code of the world's leading liberal voice

Versions

Version
1.2
1.1
0.10
0.9
0.8
0.7
0.6
0.4
0.3
0.2