java.lang.Object
org.alfresco.repo.search.impl.elasticsearch.contentmodelsync.utils.ResponseJsonUtils

public class ResponseJsonUtils extends Object
  • Constructor Details

    • ResponseJsonUtils

      public ResponseJsonUtils()
  • Method Details

    • extractErrorReason

      public static String extractErrorReason(String jsonBody)
      Extracts the error reason from a JSON response body.
      Parameters:
      jsonBody - the JSON response body
      Returns:
      the error reason if present, otherwise the entire jsonBody