As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Content content = req.getContent(); // get request content (should be JSON string) String params = content.getContent(); try { // parse string params to JSON object JSONObject jsonObject = new JSONObject(params); // get breadcrumb String breadcrumb = jsonObject.getString("breadcrumb"); } catch (JSONException e) { throw new AlfrescoRuntimeException("Request doesn't contain json object. " + e.getMessage()); }