src/CamelCaseJsonResponseFactory.php
public function encodeJson($value)
    {
        if ($value instanceof Arrayable) {
            return $this->encodeArrayable($value);
        } else if (is_array($value)) {
            return $this->encodeArray($value);
        } else if (is_object($value)) {
            return $this->encodeArray((array) $value);
        } else {
            return $value;
        }
    }
public function encodeJson($value)
    {
        if ($value instanceof Arrayable) {
            return $this->encodeArrayable($value);
        } else if (is_array($value)) {
            return $this->encodeArray($value);
        } else if (is_object($value)) {
            return $this->encodeArray((array) $value);
        } else {
            return $value;
        }
    }
public function encodeJson ( $ value ) { if ( $ value instanceof Arrayable ) { return $ this -> encodeArrayable ( $ value ) ; } else if ( is_array ( $ value ) ) { return $ this -> encodeArray ( $ value ) ; } else if ( is_object ( $ value ) ) { return $ this -> encodeArray ( ( array ) $ value ) ; } else { return $ value ; } }
Encode a value to camelCase JSON
Encode a value to camelCase JSON