Function: deserialize()
deserialize(
data):Namefully
Deserializes a JSON object into a Namefully instance.
This is the inverse operation of serialize(), reconstructing a Namefully
instance from a previously serialized JSON object, preserving the name hierarchy.
Parameters
data
string | SerializedName
the serialized Namefully data (from serialize()
or compatible format).
Returns
a new Namefully instance.
Throws
if the data cannot be parsed or is invalid.