Should I continue to use json_encode? Or use serialize class of Magento
\Zend_Json::encodethis may be old, I don't think we should use this in higher Magento version
json_encode(something) Still see some usage across Magento system
Sometimes i see magento use
serializer reference to class
I also found you can encode with use
This makes me very confusing. So which is the method I should use?