コード例 #1
0
  @Override
  protected JsonNode doExecute(JsonNode jsonRequest) {
    Project project = new Project();

    project.setStatus(jsonRequest.findPath("status").textValue());

    project.setInfo(jsonRequest.findPath("info").textValue());

    project.setTitle(jsonRequest.findPath("title").textValue());

    project.setSummary(jsonRequest.findPath("summary").textValue());

    repository.set(project);

    return jsonRequest;
  }