public render ( mixed $value = null, boolean $useTraversableKeys = false, boolean $preventRecursion = true, mixed $recursionMarker = null, string $dateTimeFormat = null ) : string | ||
$value | mixed | Array or Traversable |
$useTraversableKeys | boolean | If TRUE, preserves keys from Traversables converted to arrays. Not recommended for ObjectStorages! |
$preventRecursion | boolean | If FALSE, allows recursion to occur which could potentially be fatal to the output unless managed |
$recursionMarker | mixed | Any value - string, integer, boolean, object or NULL - inserted instead of recursive instances of objects |
$dateTimeFormat | string | A date() format for converting DateTime values to JSON-compatible values. NULL means JS UNIXTIME (time()*1000) |
Résultat | string |