Sugestion Zend_Json_Decoder::decode

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Sugestion Zend_Json_Decoder::decode

Fernando Andre
This post has NOT been accepted by the mailing list yet.

Is it possible to make a change into the Zend_Json_Decoder to make it return a Model
I specify instead of a stdClass?

$a = Zend_Json_Decoder::decode($HtmlJsonbody, "DM_Model_Network");
foreach ($a as $network ) {

I have made this possible but would like it to be directly inside Zend_Json instead of having to always change the code when theres a new version of Zend Framework.

Best regards,