We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$json_obj = json_decode($data); [...] foreach ($json_obj->inputControlState as $state) { $result[] = \Jaspersoft\Dto\Report\InputControl::createFromJSON($state); }
In this fragment there is an error, because JSON data are first decoded, and then passed as argument to createFromJSON, which expects JSON data:
public static function createFromJSON($json) { $data_array = json_decode($json, true);
and above line triggers error
The text was updated successfully, but these errors were encountered:
No branches or pull requests
$json_obj = json_decode($data);
[...]
foreach ($json_obj->inputControlState as $state) {
$result[] = \Jaspersoft\Dto\Report\InputControl::createFromJSON($state);
}
In this fragment there is an error, because JSON data are first decoded, and then passed as argument to createFromJSON, which expects JSON data:
public static function createFromJSON($json)
{
$data_array = json_decode($json, true);
and above line triggers error
The text was updated successfully, but these errors were encountered: