original_string: public function json()
      {
          $field = $this;
  
          return $this->unescape()->as(function ($value) use ($field) {
              $content = json_decode($value, true);
  
              if (json_last_error() == 0) {
                  $field->border = false;
  
                  return '<pre><code>'.json_encode($content, JSON_PRETTY_PRINT).'</code></pre>';
              }
  
              return $value;
          });
      }
code: public function json()
      {
          $field = $this;
  
          return $this->unescape()->as(function ($value) use ($field) {
              $content = json_decode($value, true);
  
              if (json_last_error() == 0) {
                  $field->border = false;
  
                  return '<pre><code>'.json_encode($content, JSON_PRETTY_PRINT).'</code></pre>';
              }
  
              return $value;
          });
      }
code_tokens: public function json ( ) { $ field = $ this ; return $ this -> unescape ( ) -> as ( function ( $ value ) use ( $ field ) { $ content = json_decode ( $ value , true ) ; if ( json_last_error ( ) == 0 ) { $ field -> border = false ; return '<pre><code>' . json_encode ( $ content , JSON_PRETTY_PRINT ) . '</code></pre>' ; } return $ value ; } ) ; }
docstring: Show field as json code.
  
  @return Field
docstring_tokens: Show field as json code .