Contents
Interface AssetCodec<K, T extends JsonAsset<K>>
- All Superinterfaces:
Codec<T>, InheritCodec<T>, RawJsonCodec<T>, RawJsonInheritCodec<T>, SchemaConvertable<T>, ValidatableCodec<T>
- All Known Implementing Classes:
AssetBuilderCodec, AssetCodecMapCodec
- Since:
- 18/9/17.
- Version:
- 1.0
-
Field Summary
Fields inherited from interface Codec
BASE64_PATTERN, BOOLEAN, BSON_DOCUMENT, BYTE, BYTE_ARRAY, DOUBLE, DOUBLE_ARRAY, DURATION, DURATION_SECONDS, FLOAT, FLOAT_ARRAY, INSTANT, INT_ARRAY, INTEGER, LOG_LEVEL, LONG, LONG_ARRAY, NULLABLE_BOOLEAN, PATH, SHORT, STRING, STRING_ARRAY, UUID_BINARY, UUID_STRING -
Method Summary
Modifier and TypeMethodDescriptiondecodeAndInheritJsonAsset(RawJsonReader reader, T parent, AssetExtraInfo<K> extraInfo) decodeJsonAsset(RawJsonReader reader, AssetExtraInfo<K> extraInfo) Methods inherited from interface InheritCodec
decodeAndInherit, decodeAndInheritMethods inherited from interface RawJsonCodec
decodeJsonMethods inherited from interface RawJsonInheritCodec
decodeAndInheritJson, decodeAndInheritJsonMethods inherited from interface SchemaConvertable
toSchema, toSchemaMethods inherited from interface ValidatableCodec
validate, validateDefaults
-
Method Details
-
getKeyCodec
KeyedCodec<K> getKeyCodec() -
getParentCodec
KeyedCodec<K> getParentCodec() -
getData
-
decodeJsonAsset
- Throws:
IOException
-
decodeAndInheritJsonAsset
T decodeAndInheritJsonAsset(RawJsonReader reader, T parent, AssetExtraInfo<K> extraInfo) throws IOException - Throws:
IOException
-