Skip to content

udmToJSON

udmToJSON(value, pretty?) → string · Format

Pretty-print a UDM object as JSON.

  • value (required): UDM value to format

  • pretty (optional): pretty-print with indentation

utlx
udmToJSON($input, true)                  // formatted JSON string

Released under AGPL-3.0.