# hibernate-native-json **Repository Path**: mirrors_zalando/hibernate-native-json ## Basic Information - **Project Name**: hibernate-native-json - **Description**: Persist an Object to JSON in an hibernate field - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2026-03-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README hibernate-native-json ================= [![Build Status](https://travis-ci.org/velo/hibernate-native-json.svg?branch=master)](https://travis-ci.org/velo/hibernate-native-json?branch=master) [![Coverage Status](https://coveralls.io/repos/github/velo/hibernate-native-json/badge.svg?branch=master)](https://coveralls.io/github/velo/hibernate-native-json?branch=master) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.marvinformatics.hibernate/hibernate-native-json/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.marvinformatics.hibernate/hibernate-native-json/) [![Issues](https://img.shields.io/github/issues/velo/hibernate-native-json.svg)](https://github.com/velo/hibernate-native-json/issues) [![Forks](https://img.shields.io/github/forks/velo/hibernate-native-json.svg)](https://github.com/velo/hibernate-native-json/network) [![Stars](https://img.shields.io/github/stars/velo/hibernate-native-json.svg)](https://github.com/velo/hibernate-native-json/stargazers) :hp-tags: jpa, hibernate, json Read/Write an object to JSON / JSON to object into a database table field (declared as a string column). This also allow to query json. Currently supported databases: - postgresql This project provided a hibernate UserType and a dialect with json support. The UserType uses jackson object mappper to do a fast serialize/deserialize of a json string representation. More information [how to implements a user type](http://blog.xebia.com/2009/11/09/understanding-and-writing-hibernate-user-types/) Check the src/test folder to see a full example. ### Example You can serialize either a class or a Map (in any cases a more dynamic field is necessary). ``` @Entity public class MyClass { @Type(type = "com.marvinformatics.hibernate.json.JsonListUserType") @Target(Label.class) private List