Asset.prototype.json

Parses the asset as JSON and returns the parsed object.

Syntax

json()

Return value

An object.

Examples

Asset("myasset").json()
{ temperature: 19, unit: "Celsius" }