com.vladmihalcea.hibernate.type.util.JsonSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-types-60 Show documentation
Show all versions of hibernate-types-60 Show documentation
Hibernate ORM 6.0 extra Types
package com.vladmihalcea.hibernate.type.util;
import java.io.Serializable;
/**
* Contract for serializing JSON objects.
*
* @author Vlad Mihalcea
*/
public interface JsonSerializer extends Serializable {
/**
* Clone JSON object.
*
* @param jsonObject JSON object
* @param JSON object parameterized type
* @return cloned JSON object
*/
T clone(T jsonObject);
}