How can I convert PHP Associative Arrays to JSON?

QuestionsHow can I convert PHP Associative Arrays to JSON?
Jehal Desai Staff asked 4 years ago

I'm trying to convert a small JSON to PHP Associative Arrays, but I'm missing a simple thing. Please check the following:
JSON to convert:

My wrong PHP Associative Arrays:

My PHP code doesn't let me pass this JSON, there must be a small thing I'm missing. Please could you help?
Thank you very much!


View on Stack Overflow