Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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);