Package-level declarations

Types

Link copied to clipboard

Transforms a Serializable class' properties into a single flat String representing the class data in the properties format.

Link copied to clipboard

Builder of the StringProperties instance provided by StringProperties { ... } factory function.

Functions

Link copied to clipboard

Decodes properties from given propertiesString, 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 string using serializer for reified type T and returns this string. Converts all primitive types to String using toString method. null values are omitted from the output.

Link copied to clipboard