Jump to content

[SOLVED] JSON


Lijoyx

Recommended Posts

JSON is a javascript object. each one of your sub-objects ({"name": "lop"}) must have an unique key associated with them.

 

json = {"first": {"name": "lop"}, "second": {"name": "lop"}...};

 

to add to any object, you can simply use dot notation

 

json.third = {'third name': 'third lop'};

Link to comment
https://forums.phpfreaks.com/topic/75748-solved-json/#findComment-383517
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.