How retrieve data from json?

Hi, i’m new and i don’t know how it works ,

i want to put a table in lua in the json,

so i have to encode my table to put it in json

My encoded table :

[

  {

    “y”: 70.833333333333,

    “x”: 277.83333333333,

    “name”: “voiture”,

    “position”: “horizontale”

  },

  {

    “y”: 334.16666666667,

    “x”: 201.41666666667,

    “name”: “camion”,

    “position”: “verticale”

  },

  {

    “y”: 334.16666666667,

    “x”: 430.66666666667,

    “name”: “voiture”,

    “position”: “horizontale”

  },

  {

    “y”: 334.16666666667,

    “x”: 659.91666666667,

    “name”: “camion”,

    “position”: “verticale”

  },

  {

    “y”: 202.5,

    “x”: 965.58333333333,

    “name”: “camion”,

    “position”: “verticale”

  },

  {

    “y”: 663.33333333333,

    “x”: 201.41666666667,

    “name”: “voiture”,

    “position”: “verticale”

  },

  {

    “y”: 729.16666666667,

    “x”: 659.91666666667,

    “name”: “camion”,

    “position”: “horizontale”

  },

  {

    “y”: 597.5,

    “x”: 889.16666666667,

    “name”: “voiture”,

    “position”: “horizontale”

  }

]

Where to put it in the json?

and i don’t know how to get back this table in lua 

my json contains 

{

  “id”: “traffic”,

  “licence”: “Didou”,

  “type”: “games”,

  “gameEngine”: “traffic”,

  “title”: {

    “en”: “Labyrinth”,

    “fr”: “Labyrinthe”

  },

  “settings”: {

    “items”: 12,

    “difficulty”: “easy”

  },

  “rights”: {

    “status”: “wip”,

    “version”: 2,

    “iOS”: true,

    “Android”: true,

    “free”: false

  },

  “ts”: 1415111927,

  “fullid”: “games.Didou.traffic”,

  “path”: “games/Didou/traffic”,

  “playable”: true,

  “content”: []

}

Use these

http://docs.coronalabs.com/api/library/json/encode.html

http://docs.coronalabs.com/api/library/json/decode.html

Also, these:

http://omnigeek.robmiracle.com/2012/02/23/need-to-save-your-game-data-in-corona-sdk-check-out-this-little-bit-of-code/

http://coronalabs.com/blog/2011/08/03/tutorial-exploring-json-usage-in-corona/

my json contains 

{

  “id”: “traffic”,

  “licence”: “Didou”,

  “type”: “games”,

  “gameEngine”: “traffic”,

  “title”: {

    “en”: “Labyrinth”,

    “fr”: “Labyrinthe”

  },

  “settings”: {

    “items”: 12,

    “difficulty”: “easy”

  },

  “rights”: {

    “status”: “wip”,

    “version”: 2,

    “iOS”: true,

    “Android”: true,

    “free”: false

  },

  “ts”: 1415111927,

  “fullid”: “games.Didou.traffic”,

  “path”: “games/Didou/traffic”,

  “playable”: true,

  “content”: []

}

Use these

http://docs.coronalabs.com/api/library/json/encode.html

http://docs.coronalabs.com/api/library/json/decode.html

Also, these:

http://omnigeek.robmiracle.com/2012/02/23/need-to-save-your-game-data-in-corona-sdk-check-out-this-little-bit-of-code/

http://coronalabs.com/blog/2011/08/03/tutorial-exploring-json-usage-in-corona/