$roles->toJson()
Converts the object into a JSON string
$roles->toJson(): stringReturn type
string
Parent class
  Kirby\Cms\Roles    inherited from Kirby\Toolkit\Collection  
Converts the object into a JSON string
$roles->toJson(): stringstring
  Kirby\Cms\Roles    inherited from Kirby\Toolkit\Collection