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.



(Required) Value to encode into JSON.

Was this page helpful?

Thank you for your feedback!

The future of Flux

Flux is going into maintenance mode. You can continue using it as you currently are without any changes to your code.

Read more