Class JsonDecoder

    • Field Detail

      • GSON

        private static final com.google.gson.Gson GSON
        The Gson object is used to parse the JSON response.
    • Constructor Detail

      • JsonDecoder

        public JsonDecoder()
    • Method Detail

      • decode

        public Object decode​(String data,
                             Object... args)
        The decode method is used to decode the JSON response.
        Specified by:
        decode in interface IDecoder<Object>
        Parameters:
        data - the JSON response
        args - the arguments
        Returns:
        the data entity