DivanteLtd / magento1-vsbridge

Run the Progressive Web App (PWA) on top of Magento 1.9. This is a Vue Storefront bridge for Magento 1.x. MIT License
https://vuestorefront.io
MIT License
57 stars 49 forks source link

Additional check on the json encode #57

Open rozzilla opened 3 years ago

rozzilla commented 3 years ago

In some cases, the option JSON_NUMERIC_CHECK of the json_encode doesn't allow to encode the data correctly. This commit adds a check: if the JSON encode with numeric check fail, it encodes without that option.