original_string: public function jsonSerialize($intDynamicPosition = null)
      {
          if (get_class($this->__subject) == "ValidFormBuilder\\GroupField") {
              $identifier = $this->__subject->getId();
          } else {
              $identifier = $this->__subject->getName();
              if ($intDynamicPosition > 0) {
                  $identifier = $identifier . "_" . $intDynamicPosition;
              }
          }
  
          $arrReturn = array(
              "subject" => $identifier, // For now, this ony applies to fields and should apply to both fields, area's, fieldsets and paragraphs.
              "comparison" => $this->__comparison,
              "value" => $this->__value
          );
  
          return $arrReturn;
      }
code: public function jsonSerialize($intDynamicPosition = null)
      {
          if (get_class($this->__subject) == "ValidFormBuilder\\GroupField") {
              $identifier = $this->__subject->getId();
          } else {
              $identifier = $this->__subject->getName();
              if ($intDynamicPosition > 0) {
                  $identifier = $identifier . "_" . $intDynamicPosition;
              }
          }
  
          $arrReturn = array(
              "subject" => $identifier, // For now, this ony applies to fields and should apply to both fields, area's, fieldsets and paragraphs.
              "comparison" => $this->__comparison,
              "value" => $this->__value
          );
  
          return $arrReturn;
      }
code_tokens: public function jsonSerialize ( $ intDynamicPosition = null ) { if ( get_class ( $ this -> __subject ) == "ValidFormBuilder\\GroupField" ) { $ identifier = $ this -> __subject -> getId ( ) ; } else { $ identifier = $ this -> __subject -> getName ( ) ; if ( $ intDynamicPosition > 0 ) { $ identifier = $ identifier . "_" . $ intDynamicPosition ; } } $ arrReturn = array ( "subject" => $ identifier , // For now, this ony applies to fields and should apply to both fields, area's, fieldsets and paragraphs. "comparison" => $ this -> __comparison , "value" => $ this -> __value ) ; return $ arrReturn ; }
docstring: Convert the Comparion's contents to a json string in order to validate this comparison client-side
  
  @param string $intDynamicPosition
  @return array The generated JSON
docstring_tokens: Convert the Comparion s contents to a json string in order to validate this comparison client - side