SyntaxFix
Write A Post
Hire A Developer
Questions
I think you want json_encode, not json_decode.
json_encode
json_decode