TraGUS
Godot plugin for user settings
Loading...
Searching...
No Matches

◆ TryDeserialize()

virtual bool TryDeserialize ( Variant  value,
out Variant  deserialized 
)
inlinevirtual

Allows to define some custom deserialization behavior, for more complex settings type, lists, etc. If you want to ensure a specific format.

It simply yields the value back if not specified.

Parameters
valueThe value to deserialize.
deserializedThe deserialized output, if successfull.
Returns
Whether the input value could be deserialized.