# GlobalIDCodec

interface GlobalIDCodec(source)

GlobalIDCodec provides a way to serialize and deserialize GlobalIDs.

## Functions

deserialize
Link copied to clipboard
abstract fun <T : NodeCompositeOutput> deserialize(str: String): GlobalID<T>

Deserialize a GlobalID from a string.

serialize
Link copied to clipboard
abstract fun <T : NodeCompositeOutput> serialize(id: GlobalID<T>): String

Serialize a GlobalID to a string.