ee.String.encodeJSON

Encodes an object to JSON. Supports primitives, lists and dictionaries.

UsageReturns
ee.String.encodeJSON(object)String
ArgumentTypeDetails
objectObject

The object to encode.