Package org.djutils.data.serialization
The serialization package takes care of (de)serializing data of different types to/from Strings.
Copyright (c) 2020-2021 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
Copyright (c) 2020-2021 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Interface Summary Interface Description 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.DoubleScalarInterface<U,S>> ScalarSerializer (de)serializes DJUNITS scalars.DoubleSerializer DoubleSerializer (de)serializes Double objects.FloatScalarSerializer<U extends org.djunits.unit.Unit<U>,S extends org.djunits.value.vfloat.scalar.base.FloatScalarInterface<U,S>> ScalarSerializer (de)serializes DJUNITS scalars.FloatSerializer FloatSerializer (de)serializes Float objects.IntegerSerializer IntegerSerializer (de)serializes Integer objects.LongSerializer LongSerializer (de)serializes Long objects.PrimitiveSerializer PrimitiveSerializer takes care of (de)serialization of primitive values.PrimitiveSerializer.Boolean Serializer and deserializer for boolean.PrimitiveSerializer.Byte Serializer and deserializer for byte.PrimitiveSerializer.Char Serializer and deserializer for char.PrimitiveSerializer.Double Serializer and deserializer for double.PrimitiveSerializer.Float Serializer and deserializer for float.PrimitiveSerializer.Int Serializer and deserializer for int.PrimitiveSerializer.Long Serializer and deserializer for long.PrimitiveSerializer.Short Serializer and deserializer for short.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.