Package org.djutils.data.serialization


package org.djutils.data.serialization
The serialization package takes care of (de)serializing data of different types to/from Strings.

Copyright (c) 2020-2024 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
  • Class
    Description
    BooleanSerializer (de)serializes Boolean objects.
    ByteSerializer (de)serializes Byte objects.
    CharacterSerializer (de)serializes Character objects.
    DoubleScalarSerializer<U extends org.djunits.unit.Unit<U>,S extends org.djunits.value.vdouble.scalar.base.DoubleScalar<U,S>>
    DoubleScalarSerializer (de)serializes DJUNITS double scalars.
    DoubleSerializer (de)serializes Double objects.
    FloatScalarSerializer<U extends org.djunits.unit.Unit<U>,S extends org.djunits.value.vfloat.scalar.base.FloatScalar<U,S>>
    FloatScalarSerializer (de)serializes DJUNITS float scalars.
    FloatSerializer (de)serializes Float objects.
    IntegerSerializer (de)serializes Integer objects.
    LongSerializer (de)serializes Long objects.
    ShortSerializer (de)serializes Short objects.
    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.
    StringSerializer (de)serializes String objects.
    TextSerializationException is the exception thrown on errors when (de)serializing objects.
    TextSerializer defines the serialize and deserialize methods.