CRM_Utils_JSON
class CRM_Utils_JSON
Class handles functions for JSON format
Methods
static
output(mixed $input)
Output json to the client.
static boolean
isValidJSON(string $str)
Test whether the input string is valid JSON.
static string
encodeDataTableSelector(array $params, int $sEcho, int $iTotal, int $iFilteredTotal, array $selectorElements)
deprecated
Do not use this function. See CRM-16353.
Details
at line 43
static
output(mixed $input)
Output json to the client.
at line 54
static boolean
isValidJSON(string $str)
Test whether the input string is valid JSON.
at line 75
static string
encodeDataTableSelector(array $params, int $sEcho, int $iTotal, int $iFilteredTotal, array $selectorElements)
deprecated
deprecated
Do not use this function. See CRM-16353.