jsonEncode

value jsonEncode(value)

Translates the value into application/json format.

Use the Boolean or BooleanArray conversion types to encode JSON boolean literals.

Parameters

  1. value — value to encode to JSON.

Returns