code: public function render(array $args, bool $prettyPrint = null)
      {
          header('Content-type: application/json');
          if ((constant('STRAY_ENV') === 'development' && $prettyPrint !== false) || $prettyPrint === true) {
              return (string) json_encode($args, JSON_PRETTY_PRINT);
          }
  
          return (string) json_encode($args);
      }
docs: Return the generated display.
  
  @param  array  $args        view args
  @param  bool   $prettyPrint force pretty print parameter
  @return string content