Genson 0.95 發布,Java輕量級的JSON操作類庫
Genson是一個輕量的Java類庫用于在JSON與Java對象之間相互轉換。它提供了完整的數據綁定和Java泛型支持。 Genson擁有豐富的功能,強大的特性,可擴展性易于增加新的功能。
漂亮的特性
- Easy to use, fast, highly configurable, lightweight and all that into a single small jar!
- Full databinding and streaming support for efficient read/write
- Support for polymorphic types (able to deserialize to an unknown type)
- Does not require a default no arg constructor and really passes the values not just null, encouraging immutability. It can even be used with factory methods instead of constructors!
- Full support for generic types
- Easy to filter/include properties without requiring the use of annotations or mixins
- You can apply filtering or transformation logic at runtime on any bean using the BeaView mechanism
- Starting with Genson 0.95 JAXB annotations and types are supported!
- Automatic support for JSON in JAX-RS implementations
- Serialization and Deserialization of maps with complex keys </ul> 發布日志:此版本增加了支持JAXB和上下文轉換器。
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!