   }
   // on mémorise l'action
   //String strAction = action->valuestring;
-  char strAction[sizeof(action->valuestring)*2];
-  String(action->valuestring).toCharArray(strAction, sizeof(strAction));
+  /*char strAction[sizeof(action->valuestring)*2];
+  String(action->valuestring).toCharArray(strAction, sizeof(strAction));*/
+  char *strAction = action->valuestring; 
   
   // on récupère les parametres
   aJsonObject *parametres = aJson.getObjectItem(json, "pa");

  }
  // on mémorise l'id
  char strId[sizeof(id->valuestring)*2];
  String(id->valuestring).toCharArray(strId, sizeof(strId));
  
  // attribut action
  aJsonObject *action = aJson.getObjectItem(json, "ac");

  if(etat==NULL) etat="{}";
  // construction de la réponse
  String reponse="{\"id\":\""+id+"\",\"er\":\""+erreur+"\",\"et\":"+etat+"}";
  //String reponse = "{\"id\":\""+id+"\",\"er\":\""+erreur+"\",\"et\":\""+etat+"\"}";
  // résultat
  return reponse;
}
