code: @Route(method = HttpMethod.POST, uri = "/json/hello")
      public Result hello() {
          JsonNode json = context().body(JsonNode.class);
          if (json == null) {
              return badRequest("Expecting Json data");
          } else {
              String name = json.findPath("name").textValue();
              if (name == null) {
                  return badRequest("Missing parameter [name]");
              } else {
                  return ok("Hello " + name);
              }
          }
      }
docs: tag::hello-json[]