| Package | Description |
|---|---|
| net.hamnaberg.json | |
| net.hamnaberg.json.extract |
| Modifier and Type | Interface and Description |
|---|---|
interface |
JsonCodec<A> |
| Modifier and Type | Class and Description |
|---|---|
static class |
DecodeJson.DecodeJsonWithDefault<A> |
| Modifier and Type | Method and Description |
|---|---|
default <B> DecodeJson<B> |
DecodeJson.flatMap(Function<A,DecodeJson<B>> f) |
default <B> DecodeJson<B> |
DecodeJson.map(Function<A,B> f) |
default <B> DecodeJson<B> |
DecodeJson.tryMap(Function<A,javaslang.control.Try<B>> f) |
default DecodeJson<A> |
DecodeJson.withDefaultValue(A defaultValue) |
| Modifier and Type | Method and Description |
|---|---|
static <A> DecodeResult<A> |
DecodeResult.decode(Json.JObject object,
String name,
DecodeJson<A> decoder) |
static <A> JsonCodec<A> |
JsonCodec.lift(DecodeJson<A> decoder,
EncodeJson<A> encoder) |
static <A> JsonCodec<A> |
Codecs.makeCodec(DecodeJson<A> decoder,
EncodeJson<A> encoder)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
default <B> DecodeJson<B> |
DecodeJson.flatMap(Function<A,DecodeJson<B>> f) |
| Constructor and Description |
|---|
DecodeJsonWithDefault(DecodeJson<A> delegate,
A defaultValue) |
| Modifier and Type | Field and Description |
|---|---|
DecodeJson<A> |
TypedField.decoder |
| Modifier and Type | Method and Description |
|---|---|
default DecodeJson<A> |
Extractor.decoder() |
| Modifier and Type | Method and Description |
|---|---|
static <B> TypedField<javaslang.control.Option<B>> |
TypedField.TOptional(String name,
DecodeJson<B> decoder) |
static <B> TypedField<B> |
TypedField.typedFieldOf(String name,
DecodeJson<B> decoder,
javaslang.control.Option<B> defaultValue) |
Copyright © 2015–2016. All rights reserved.