Documentation

dynamic.jsonParse() function

dynamic.jsonParse() is experimental and subject to change at any time.

dynamic.jsonParse() takes JSON data as bytes and returns dynamic values.

JSON input is converted to dynamic-typed values which may be converted to a statically typed value with dynamic.asArray() or casting functions in the dynamic package.

Function type signature
(data: bytes) => dynamic
For more information, see Function type signatures.

Parameters

data

(Required) JSON data (as bytes) to parse.


Was this page helpful?

Thank you for your feedback!


Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.