private function getValue($value)
    {
        if ($this->isBoolean($value)) {
            return (strtolower($value) === 'true');
        } elseif ($this->isInteger($value)) {
            return (int)$value;
        } elseif ($this->isNumber($value)) {
            return (float)$value;
        }
        return $value;
    }
private function getValue($value)
    {
        if ($this->isBoolean($value)) {
            return (strtolower($value) === 'true');
        } elseif ($this->isInteger($value)) {
            return (int)$value;
        } elseif ($this->isNumber($value)) {
            return (float)$value;
        }
        return $value;
    }
private function getValue ( $ value ) { if ( $ this -> isBoolean ( $ value ) ) { return ( strtolower ( $ value ) === 'true' ) ; } elseif ( $ this -> isInteger ( $ value ) ) { return ( int ) $ value ; } elseif ( $ this -> isNumber ( $ value ) ) { return ( float ) $ value ; } return $ value ; }
Get value prepared for Json data structure

@param mixed $value
@return mixed
Get value prepared for Json data structure