I have saved this string into the database. when I trying to decode this string by below sentence this does not working.

\Magento\Framework\Serialize\Serializer\Json $serializer


[{"catagory_title":"lamn leg","catagory_value":"lamn_leg","delete":""},{"catagory_title":"lamn beef","catagory_value":"lamn_beef","delete":""}]
  • Magento version? do you get any error while running your code? – Bilal Usean Apr 26 at 13:53
  • magento 2.2.2 yes at running time – BM ZALA Apr 26 at 13:55
  • 3
    post that error details in your question. – Bilal Usean Apr 26 at 13:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.