$page->toJson($callback = null)

Converts the entire page array into a json string

  • $callback (closure)
    Filter callback
  • return (string)

Example

<?php
$json = $page->toJson();
echo($json);
 ?>

Is something missing or incorrect? Edit this page on Github…