/**
  * Deserializa el bean en formato JSON
  *
  * @param json objeto que contiene los datos del bean en formato JSON
  * @throws es.tid.serial.json.JSONException Cuando se produce un error en la deserialización del
  *     objeto JSON
  */
 public void fromJSON(JSONObject json) throws JSONException {
   JSONArray jArray;
   JSONArray jObjectArray;
   jObjectArray = json.getJSONArray("literalProperties");
   this.clearLiteralProperties();
   for (int i = 0; i < jObjectArray.length(); i++) {
     JSONObject jObj_i = jObjectArray.getJSONObject(i);
     org.qualipso.advdoc.ws.client.retrieval.beans.LiteralProperty tmp =
         new org.qualipso.advdoc.ws.client.retrieval.beans.LiteralProperty();
     tmp.fromJSON(jObj_i);
     this.addLiteralProperties(tmp);
   }
   jObjectArray = json.getJSONArray("objectProperties");
   this.clearObjectProperties();
   for (int i = 0; i < jObjectArray.length(); i++) {
     JSONObject jObj_i = jObjectArray.getJSONObject(i);
     org.qualipso.advdoc.ws.client.retrieval.beans.ObjectProperty tmp =
         new org.qualipso.advdoc.ws.client.retrieval.beans.ObjectProperty();
     tmp.fromJSON(jObj_i);
     this.addObjectProperties(tmp);
   }
 }