Merx

$listItems->toJson()

Converts the object into a JSON string

$listItems->toJson(): string

Return type

string

Exceptions

Type Description
JsonException for invalid JSON

Parent class

Wagnerwagner\Merx\ListItems inherited from Kirby\Toolkit\Collection