Skip to main content

JSON

parse(string)#

Parses a JSON string, constructing the JavaScript value or object described by the string.

Arguments
string (string): The string to parse as JSON.

Returns
(string): Returns the Object, Array value corresponding to the given JSON string.

get(string)#

Gets the value at path of object. If the resolved value is undefined, the defaultValue is returned in its place.

Arguments
object (string): The object to query. path (string): The path of the property to get. defaultValue (string): The value returned for undefined resolved values.

Returns
(string): Returns the resolved value.


If you get stuck at a point above, please reach out to support@butternut.tech or via this form.
We're here to support you, and together we can build great things.