public class KVCodec extends StringValueResolver<KV> implements ValueObject.Codec<KV>
| Modifier and Type | Field and Description |
|---|---|
static KVCodec |
INSTANCE |
attributes| Constructor and Description |
|---|
KVCodec() |
| Modifier and Type | Method and Description |
|---|---|
KV |
parse(String s) |
KV |
resolve(String value) |
Class<KV> |
targetClass() |
String |
toJSONString(KV o) |
String |
toString(KV o) |
addPredefinedResolver, amended, apply, attribute, attribute, attributes, clearAttributes, genericTargetType, main, predefined, predefined, targetType, wrapandThen, andThen, applyOrElse, compose, compose, compose, compose, compose, compose, curry, invert, lift, orElse, timesbreakOutpublic static final KVCodec INSTANCE
public Class<KV> targetClass()
targetClass in interface ValueObject.Codec<KV>public KV parse(String s)
parse in interface ValueObject.Codec<KV>public String toString(KV o)
toString in interface ValueObject.Codec<KV>public String toJSONString(KV o)
toJSONString in interface ValueObject.Codec<KV>public KV resolve(String value)
resolve in class StringValueResolver<KV>Copyright © 2017. All Rights Reserved.