{"id":19563110,"url":"https://github.com/fasterxml/jackson-datatypes-collections","last_synced_at":"2025-05-14T21:04:34.318Z","repository":{"id":8203280,"uuid":"50007393","full_name":"FasterXML/jackson-datatypes-collections","owner":"FasterXML","description":"Jackson project that contains various collection-oriented datatype libraries: Eclipse Collections, Guava, HPPC, PCollections","archived":false,"fork":false,"pushed_at":"2025-05-11T00:12:02.000Z","size":3455,"stargazers_count":83,"open_issues_count":9,"forks_count":55,"subscribers_count":10,"default_branch":"2.x","last_synced_at":"2025-05-11T00:26:50.676Z","etag":null,"topics":["eclipse-collections","guava","hacktoberfest","jackson"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FasterXML.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-01-20T05:39:06.000Z","updated_at":"2025-05-10T23:58:17.000Z","dependencies_parsed_at":"2024-06-01T04:30:35.023Z","dependency_job_id":"56e389c8-88cd-468b-87d2-09ec5b35d78d","html_url":"https://github.com/FasterXML/jackson-datatypes-collections","commit_stats":{"total_commits":617,"total_committers":20,"mean_commits":30.85,"dds":"0.10048622366288495","last_synced_commit":"9c2af6f6de9ee5f00fb943e6261b307ce23e7acc"},"previous_names":[],"tags_count":107,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FasterXML%2Fjackson-datatypes-collections","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FasterXML%2Fjackson-datatypes-collections/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FasterXML%2Fjackson-datatypes-collections/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FasterXML%2Fjackson-datatypes-collections/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FasterXML","download_url":"https://codeload.github.com/FasterXML/jackson-datatypes-collections/tar.gz/refs/heads/2.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254227605,"owners_count":22035668,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eclipse-collections","guava","hacktoberfest","jackson"],"created_at":"2024-11-11T05:16:35.869Z","updated_at":"2025-05-14T21:04:34.281Z","avatar_url":"https://github.com/FasterXML.png","language":"Java","readme":"## Overview\n\nThis is a multi-module umbrella project for various [Jackson](../../../jackson)\nDatatype modules to support 3rd party Collection libraries.\n\nCurrently included are:\n\n* [Eclipse Collections](eclipse-collections/) datatype (for [Eclipse Collections](https://www.eclipse.org/collections/)): `jackson-datatype-eclipse-collections` (since 2.10)\n* [Guava](guava/) datatype (for [Guava library](https://github.com/google/guava)): `jackson-datatype-guava`\n* [HPPC](hppc/) datatype (for [High-Performance Primitive Collections](https://labs.carrotsearch.com/hppc.html)): `jackson-datatype-hppc`\n* [PCollections](pcollections/) datatype (for [Persistent Java Collections](https://pcollections.org/)): `jackson-datatype-pcollections`\n\n## License\n\nAll modules are licensed under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0.txt).\n\n## Build Status\n\n[![Build Status](https://travis-ci.org/FasterXML/jackson-datatypes-collections.svg)](https://travis-ci.org/FasterXML/jackson-datatypes-collections)\n\n## Usage, general\n\n### Maven dependencies\n\nTo use these format backends Maven-based projects, use following dependency:\n\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.fasterxml.jackson.datatype\u003c/groupId\u003e\n  \u003cartifactId\u003ejackson-datatype-[COLLECTION]\u003c/artifactId\u003e\n  \u003cversion\u003e2.13.3\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nwhere `COLLECTION` would be one of `guava`, `hppc`, `pcollections`, or `eclipse-collections`\n(replace version with the latest available).\n\nYou may also use [jackson-bom](https://github.com/FasterXML/jackson-bom) for defining\nconsistent sets of versions of various Jackson components.\n\nNOTE! Parent pom itself only specifies defaults to individual modules but\nDOES NOT include them, so you CAN NOT just add dependency to `jackson-datatypes-collections`.\nIndividual datatype modules need to be included explicitly (or via some other pom\nthat depends on them).\n\n### Registration with ObjectMapper\n\nLike all standard Jackson modules (libraries that implement Module interface), registration for Collections\ndatatypes is done using one of 2 mechanisms:\n\n```java\nObjectMapper mapper;\n\n// New; 2.10.x / 3.0:\nmapper = JsonMapper.builder() // or mapper for other formats\n    .addModule(new GuavaModule())\n    .addModule(new HppcModule())\n    .addModule(new PCollectionsModule())\n    .build();\n\n// Old (2.x), not available on 3.x:\nmapper = new ObjectMapper() // or mapper for other formats\n    .registerModule(new GuavaModule())\n    .registerModule(new HppcModule())\n    .registerModule(new PCollectionsModule())\n    .registerModule(new EclipseCollectionsModule())\n    ;\n```\n\nafter which datatype read/write support is available for all normal Jackson operations,\nincluding support for nested types.\n\n## Usage, per-datatype\n\nSee READMEs of individual modules for datatype-specific configuration, options\nand so on:\n\n* [jackson-datatype-eclipse-collections](eclipse-collections/)\n* [jackson-datatype-guava](guava/)\n* [jackson-datatype-hpcc](hppc/)\n* [jackson-datatype-pcollections](pcollections/)\n\n### Usage with Spring Boot\n\n```java\n@Bean\npublic Jackson2ObjectMapperBuilderCustomizer customize()\n{\n    return builder -\u003e builder.modules( new GuavaModule() );\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasterxml%2Fjackson-datatypes-collections","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffasterxml%2Fjackson-datatypes-collections","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffasterxml%2Fjackson-datatypes-collections/lists"}