code: public static void handleResult(String json) {
  
          JSONObject jsonObj = JSONParser.parseLenient(json).isObject();
          JSONArray results = jsonObj.get(CmsDataViewConstants.KEY_RESULT).isArray();
          String accessorId = jsonObj.get(CmsDataViewConstants.ACCESSOR).isString().stringValue();
          CmsDataViewValueAccessor accessor = accessors.get(accessorId);
          List<CmsDataViewValue> values = Lists.newArrayList();
          for (int i = 0; i < results.size(); i++) {
              JSONObject singleResult = results.get(i).isObject();
              String id = singleResult.get(CmsDataViewConstants.FIELD_ID).isString().stringValue();
              String title = singleResult.get(CmsDataViewConstants.FIELD_TITLE).isString().stringValue();
              String description = singleResult.get(CmsDataViewConstants.FIELD_DESCRIPTION).isString().stringValue();
              String data = singleResult.get(CmsDataViewConstants.FIELD_DATA).isString().stringValue();
              CmsDataViewValue value = new CmsDataViewValue(id, title, description, data);
              values.add(value);
          }
          accessor.replaceValue(values);
      }
docs: Handles the JSON results returned by the embedded Vaadin dialog.<p>
  
  @param json the JSON results