Answer the question
In order to leave comments, you need to log in
How to decode brackets in Json/curl via php?
Help to bring the string to this form in php
Source string
{"media":[{"type":"text","text":"Russian style"},{"type":"text","text":"Description Russian style"},{ "type":"product","price":"8800.00","lifetime":30}]}
The request should include this escaping
%7B%22media%22%3A%5B%7B%22type %22%3A%22text%22%2C%22text%22%3A%22%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9%20%D1 %81%D1%82%D0%B8%D0%BB%D1%8C%22%7D%2C%7B%22type%22%3A%22text%22%2C%22text%22%3A%22%D0%9E %D0%BF%D0%B8%D1%81%D0%B0%D0%BD%D0%B8%D0%B5%20%D0%A0%D1%83%D1%81%D1%81%D0%BA %D0%B8%D0%B9%20%D1%81%D1%82%D0%B8%D0%BB%D1%8C%22%7D%2C%7B%20%22type%22%3A%22product%22 %2C%22price%22%3A%228800.00%22%2C%22lifetime%22%3A30%7D%5D%7D
I understand that I'm stupid but help with the flags
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question