javascript json table

javascript - 2017-12-04 10:06:27
  how to access to data stocked in json table
mesValeurs =
{
 {
  "hotspot_ground_sejour02_rotation":
  {
   x: 12,
   y: 45,
   z: 35
  }
 },
 {
  "hotspot_ground_sejour02_position":
  {
   x: 12,
   y: 45,
   z: 35
  }
 }
}


mesValeurs.hotspot_ground_sejour02_rotation.x

/* ou */

mesValeurs["hotspot_ground_sejour02_rotation"]["x"]