Location Selection Deserializer#
Defined in package com.scandit.datacapture.core.area.serialization
Warning
The deserialization API is not yet stable and will still change over the coming releases.
Note
This deserializer is not thread-safe, subsequent calls for the same location selection have to be called on the same thread.
-
LocationSelectionDeserializer
# class LocationSelectionDeserializer
Added in version 6.3.0
A deserializer to construct location selections from JSON.
Related topics: Serialization.
-
LocationSelectionDeserializer()
# LocationSelectionDeserializer
()Added in version 6.3.0
Creates a new deserializer object.
-
warnings
# @NonNull List<@NonNull String>
getWarnings
()Added in version 6.3.0
The warnings produced during deserialization, for example which properties were not used during deserialization.
-
locationSelectionFromJson(jsonData)
# @NonNull LocationSelection
locationSelectionFromJson
( @NonNull String jsonData)Added in version 6.3.0
Deserializes a location selection from JSON.
An exception is thrown if the provided JSON does not contain required properties or contains properties of the wrong type.
-