ee.String.decodeJSON

Stay organized with collections Save and categorize content based on your preferences.
Decodes a JSON string.

UsageReturns
String.decodeJSON()Object
ArgumentTypeDetails
this: stringStringThe string to decode.

Examples

Code Editor (JavaScript)

var data = ee.Dictionary(ee.String('{"a": "abc", "b": 1}').decodeJSON());
print(data);
print(data.get('a'));