Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

silent fail on Json::encode Error #9

Open
lkainers opened this issue Jul 27, 2015 · 2 comments
Open

silent fail on Json::encode Error #9

lkainers opened this issue Jul 27, 2015 · 2 comments

Comments

@lkainers
Copy link

$return = Json::encode($nameOrModel);

if json_last_error() != 0 no exception ist thrown

@Martin-P
Copy link
Contributor

Source of the problem is in Zend\Json\Json::encode not in Zend\View\Renderer\JsonRenderer.

@michalbundyra
Copy link
Member

This repository has been closed and moved to laminas/laminas-view; a new issue has been opened at laminas/laminas-view#33.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants