mini\CLI\TTY::json()
Method
public
static
Signature
public static function json(iterable $rows, bool $pretty = false): string
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$rows |
iterable |
required | Documentation missing |
$pretty |
bool |
false
|
Documentation missing |
Returns
string
Documentation
Render data as JSON