original_string: protected function parseStringsToNativeTypes($value)
      {
          if (is_array($value)) {
              return array_map([$this, 'parseStringsToNativeTypes'], $value);
          }
  
          if (! is_string($value)) {
              return $value;
          }
  
          $parsedValue = json_decode($value, true);
  
          if (json_last_error() === JSON_ERROR_NONE) {
              return $parsedValue;
          }
  
          return $value;
      }
code: protected function parseStringsToNativeTypes($value)
      {
          if (is_array($value)) {
              return array_map([$this, 'parseStringsToNativeTypes'], $value);
          }
  
          if (! is_string($value)) {
              return $value;
          }
  
          $parsedValue = json_decode($value, true);
  
          if (json_last_error() === JSON_ERROR_NONE) {
              return $parsedValue;
          }
  
          return $value;
      }
code_tokens: protected function parseStringsToNativeTypes ( $ value ) { if ( is_array ( $ value ) ) { return array_map ( [ $ this , 'parseStringsToNativeTypes' ] , $ value ) ; } if ( ! is_string ( $ value ) ) { return $ value ; } $ parsedValue = json_decode ( $ value , true ) ; if ( json_last_error ( ) === JSON_ERROR_NONE ) { return $ parsedValue ; } return $ value ; }
docstring: Convert string casted values to their native types.
  
  @param  mixed  $value
  @return mixed
docstring_tokens: Convert string casted values to their native types .