ee.String.serialize

Returns the serialized representation of this object.

UsageReturns
String.serialize(legacy)String
ArgumentTypeDetails
this: computedobjectComputedObject

The ComputedObject instance.

legacyBoolean, optional

Enables legacy format.

Examples

Code Editor (JavaScript)

print('Serialized representation of ee.String', ee.String('earth').serialize());