ee.Number.serialize

Returns the serialized representation of this object.

UsageReturns
Number.serialize(legacy)String
ArgumentTypeDetails
this: computedobjectComputedObjectThe ComputedObject instance.
legacyBoolean, optionalEnables legacy format.

Examples

print('Serialized representation of ee.Number', ee.Number(10).serialize());

See the Python Environment page for information on the Python API and using geemap for interactive development.

import ee
import geemap.core as geemap
print('Serialized representation of ee.Number:', ee.Number(10).serialize())