Parser Deserializer Listener#

Defined in package com.scandit.datacapture.parser.serialization

Warning

The deserialization API is not yet stable and will still change over the coming releases.

ParserDeserializerListener#
interface ParserDeserializerListener

Added in version 6.3.0

The listener for the parser deserializer.

onParserDeserializationStarted(deserializer, parser, json)#
void onParserDeserializationStarted(@NonNull ParserDeserializer deserializer,
        @NonNull Parser parser,
        @NonNull JsonValue json)

Added in version 6.3.0

Called before the deserialization of the parser started. This is the point to overwrite defaults before the deserialization is performed.

onParserDeserializationFinished(deserializer, parser, json)#
void onParserDeserializationFinished(@NonNull ParserDeserializer deserializer,
        @NonNull Parser parser,
        @NonNull JsonValue json)

Added in version 6.3.0

Called when the deserialization of the parser finished. This is the point to do additional deserialization.