Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/strongbox/strongbox-npm-metadata
This is a Java implementation of the npmjs metadata schema definition.
https://github.com/strongbox/strongbox-npm-metadata
hacktoberfest java json-schema metadata npm package-json pojo schema
Last synced: 2 days ago
JSON representation
This is a Java implementation of the npmjs metadata schema definition.
- Host: GitHub
- URL: https://github.com/strongbox/strongbox-npm-metadata
- Owner: strongbox
- License: apache-2.0
- Created: 2017-11-15T07:50:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-10-17T19:42:44.000Z (about 4 years ago)
- Last Synced: 2024-03-27T09:24:38.174Z (8 months ago)
- Topics: hacktoberfest, java, json-schema, metadata, npm, package-json, pojo, schema
- Language: Java
- Homepage:
- Size: 85.9 KB
- Stars: 3
- Watchers: 9
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
This project is a set of POJOs which are relevant for various `NPM` metadata files, such as `package.json`.
It uses native [JSON Schema](http://json-schema.org/) to define and then generate Java classes.
It also uses [Jackson](https://github.com/FasterXML/jackson) as default the JSON parser.# How to use
ObjectMapper mapper = new ObjectMapper();
Package packageDef = mapper.readValue(jsonInputStream, Package.class);