Wendy's JSON

From Coder Merlin

JSON[edit]

JSON example

Summary[edit]

JSON, otherwise known as JavaScript Object Notation, is a structure used to store and describe multiple objects. Although it was originally used in JavaScript, JSON is language-independent and can be used in nearly any application. JSON is also a lightweight data-interchange format and can be used to send data between computers. Objects are stored using keys and values.

Usage[edit]

  • In short, JSON is used to transmit data between web applications.
  • For example, sending data from the server to the client.
  • For instance, having the server tell and transmit data to the client to display a picture.
  • In addition, substitutable with XML.

Example Structure[edit]

{
   "firstName": "John",
   "lastName": "Williams",
   "gender": "male",
   "age": 24,
   "address": {
       "streetAddress": "126",
       "city": "San Jone",
       "state": "CA",
       "postalCode": "394221"
   },
   "phoneNumbers": [
       { "type": "home", "number": "7383627627" }
   ]
}

Board[edit]

{
   "Board": Board
   "Rows" : 9
   "Columns": 9
   "Grids": 9
   "Tiles": 81
}

Sources[edit]


CoderMerlin™ proudly recommends:
HintIcon.png

Your purchase via these links helps keep  Coder Merlin™ 's orbuculum ablaze. As an Amazon Associate we earn from qualifying purchases. Thank you for your support!


Designed with pride in Silicon Valley, CA, USA