2 Star 0 Fork 0

mirrors_FasterXML/jackson-datatype-hppc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
Apache-2.0
**IMPORTANT!** This project will be moved under https://github.com/FasterXML/jackson-datatype-collections soon, to simplify management, release process. ----- Project to build Jackson (http://jackson.codehaus.org) module (jar) to support JSON serialization and deserialization of High-Performance Primitive Collections (see http://labs.carrotsearch.com/hppc.html) datatypes. ## Status [![Build Status](https://travis-ci.org/FasterXML/jackson-datatype-hppc.svg)](https://travis-ci.org/FasterXML/jackson-datatype-hppc) [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.fasterxml.jackson.datatype/jackson-datatype-hppc/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.fasterxml.jackson.datatype/jackson-datatype-hppc/) [![Javadoc](https://javadoc.io/badge/com.fasterxml.jackson.datatype/jackson-datatype-hppc.svg)](http://www.javadoc.io/doc/com.fasterxml.jackson.datatype/jackson-datatype-hppc) Currently (2.5) following things are supported: * Serializing of all 'XxxContainer' (IntContainer, IntSet, IntArrayList, LongContainer, DoubleContainer etc) types * Deserialization of all `int` valued container types and following are not yet supported: * Deserialization for other primitive types * Handling of 'map' types (ie. 'XYAssociateContainer' implementations) plan is to support full fidelity of Jackson annotation configurability; meaning that all generic types (ones with 'Object' in name, and with generic type parameter) could be supported; as well as use of included type information. However, due to on-going competing work, at this point (May 2015) the best way to get additional coverage is to contribute code. Jackson team is happy to merge code contributions, and help with implementation details. ## License [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt) ## Usage ### JDK version Starting with version 2.6 of the module, minimum JDK is 1.7. This is because HPPC 0.7.1 requires it. Jackson core components only require 1.6. ### Maven dependency To use module on Maven-based projects, use following dependency: ```xml <dependency> <groupId>com.fasterxml.jackson.datatype</groupId> <artifactId>jackson-datatype-hppc</artifactId> <version>2.5.3</version> </dependency> ``` (or whatever version is most up-to-date at the moment) ### Registering module To use the the Module in Jackson, simply register it with the ObjectMapper instance: Modules are registered through ObjectMapper, like so: ```java ObjectMapper mapper = new ObjectMapper(); mapper.register(new HppcModule()); ``` after which you can read JSON as HPCC types, as well as write HPPC types as JSON. It's really that simple; convenient and efficient.

简介

暂无描述 展开 收起
Java
Apache-2.0
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_FasterXML/jackson-datatype-hppc.git
git@gitee.com:mirrors_FasterXML/jackson-datatype-hppc.git
mirrors_FasterXML
jackson-datatype-hppc
jackson-datatype-hppc
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385