package com.amplify.hiccup.service;

public interface JsonConverter {
    String toJson(Object object);
}

package com.amplify.hiccup.service;

public interface JsonConverter {
    String toJson(Object object);
    <T> T fromJson(String json, Class<T> aClass);
}

Add #fromJson() to JsonConverter interface