public function write($content, $options = 448) : void
    {
        $json = json_encode($content, $options) . ($options & JSON_PRETTY_PRINT ? "\n" : '');
        parent::write($json);
    }
public function write($content, $options = 448) : void
    {
        $json = json_encode($content, $options) . ($options & JSON_PRETTY_PRINT ? "\n" : '');
        parent::write($json);
    }
public function write ( $ content , $ options = 448 ) : void { $ json = json_encode ( $ content , $ options ) . ( $ options & JSON_PRETTY_PRINT ? "\n" : '' ) ; parent :: write ( $ json ) ; }
Encode content to json and write to disk

@param  mixed $content
@param  int   $options
@return void
Encode content to json and write to disk