1

Topic: Json in Json - t!!!

All greetings! Always jcm to send in PHP json object. But this time it is necessary to send Json in Json -  and to decode on side PHP.
For example is such :
1) goods Name
2)  the goods
3) the Price
Let's tell such 10 records. It it is necessary to send all in PHP one volley.

2

Re: Json in Json - t!!!

antihacker777 wrote:

it is necessary to send Json in Json -

Such need is not absolutely clear...
As in  or  in JS it is possible to create any complexity and a configuration.
Then to translate it in a Json-format and to send...
But as it is possible to translate separate elements in a Json-format, and it is a normal line. And to appropriate this value though to property , though to an array cell...

antihacker777 wrote:

and to decode on side PHP

It already a problem of other section of this forum... smile))

3

Re: Json in Json - t!!!

antihacker777;
Probably you mean to work with json in javascript?

4

Re: Json in Json - t!!!

Areostar;
Yes you are right. I about it. Can as value of a key an array?