All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fatjar.implementations.genson.GensonJSON Maven / Gradle / Ivy

There is a newer version: 1.3.0
Show newest version
package fatjar.implementations.genson;

import com.owlike.genson.Genson;
import fatjar.JSON;

public class GensonJSON implements JSON {

    public  T fromJson(String json, Class tClass) {
        return new Genson().deserialize(json, tClass);
    }

    public String toJson(Object object) {
        return new Genson().serialize(object);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy