Make your phone or tablet smarter with automation
value jsonEncode(value)
Translates the value into application/json format.
Use the Boolean or BooleanArray conversion types to encode JSON boolean literals.