Package-level declarations

Properties serialization format implementation that represents the input data as a plain map of properties.

Types

Link copied to clipboard

Transforms a Serializable class' properties into a single flat Map consisting of string keys and primitive type values, and vice versa.

Functions

Link copied to clipboard

Decodes properties from given map, assigns them to an object using serializer for reified type T and returns this object. T may contain properties of nullable types; they will be filled by non-null values from the map, if present.

Link copied to clipboard

Decodes properties from given map, assigns them to an object using serializer for reified type T and returns this object. String values are converted to respective primitive types using default conversion methods. T may contain properties of nullable types; they will be filled by non-null values from the map, if present.

Link copied to clipboard

Encodes properties from given value to a map using serializer for reified type T and returns this map. null values are omitted from the output.

Link copied to clipboard

Encodes properties from given value to a map using serializer for reified type T and returns this map. Converts all primitive types to String using toString method. null values are omitted from the output.

Link copied to clipboard

Creates an instance of Properties with a given module.