Package org.djutils.data.serialization
The serialization package takes care of (de)serializing data of different types to/from Strings.
Copyright (c) 2020-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Interface Summary Interface Description SpecificTextSerializer<T> StrictTextSerializer adds one method to the textSerializer class where it it is not necessary to specify the type for the deserialize method, since it is a specific class.TextSerializer<T> TextSerializer defines the serialize and deserialize methods. -
Class Summary Class Description BooleanSerializer BooleanSerializer (de)serializes Boolean objects.ByteSerializer ByteSerializer (de)serializes Byte objects.CharacterSerializer CharacterSerializer (de)serializes Character objects.DoubleScalarSerializer<U extends org.djunits.unit.Unit<U>,S extends org.djunits.value.vdouble.scalar.base.AbstractDoubleScalar<U,S>> DoubleScalarSerializer (de)serializes DJUNITS double scalars.DoubleSerializer DoubleSerializer (de)serializes Double objects.FloatScalarSerializer<U extends org.djunits.unit.Unit<U>,S extends org.djunits.value.vfloat.scalar.base.AbstractFloatScalar<U,S>> FloatScalarSerializer (de)serializes DJUNITS float scalars.FloatSerializer FloatSerializer (de)serializes Float objects.IntegerSerializer IntegerSerializer (de)serializes Integer objects.LongSerializer LongSerializer (de)serializes Long objects.ShortSerializer ShortSerializer (de)serializes Short objects.StringSerializer StringSerializer (de)serializes String objects. -
Exception Summary Exception Description TextSerializationException TextSerializationException is the exception thrown on errors when (de)serializing objects.