Documentation

dynamic.jsonEncode() function

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

dynamic.jsonEncode() converts a dynamic value into JSON bytes.

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

Parameters

v

(Required) Value to encode into JSON.


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.