Class JsonToMessageFunction

  • All Implemented Interfaces:
    com.google.common.base.Function<String,​String>, Function<String,​String>

    public class JsonToMessageFunction
    extends Object
    implements com.google.common.base.Function<String,​String>
    Attempts to extract an error message from a JSON payload. If the message cannot be found then the original JSON string is returned
    Author:
    Jeremy Unruh