Document.StringProperty.DefaultSerializer


public final class Document.StringProperty.DefaultSerializer implements StringSerializer


Summary

Public constructors

Public methods

@NonNull String

Deserializes a T from a String.

@NonNull String

Serializes a T to a String.

Public constructors

DefaultSerializer

Added in 1.1.0-alpha06
public DefaultSerializer()

Public methods

deserialize

Added in 1.1.0-alpha06
public @NonNull String deserialize(@NonNull String string)

Deserializes a T from a String. Returns null if deserialization failed.

serialize

Added in 1.1.0-alpha06
public @NonNull String serialize(@NonNull String instance)

Serializes a T to a String.