Coder Social home page Coder Social logo

iiif-api-model's Introduction

iiif-api-model: Java library to create and consume IIIF manifests

Introduction

This is a Java library to to create and consume IIIF Presentation v2 manifests in Java and serialize them to valid IIIF JSON-LD. It is used in various applications within the open source software suite Goobi.

Installation

This library is published in the intranda Nexus server. You can use it by adding the following snippets to your pom.xml:

<repositories>
  <repository>
    <id>intranda-public</id>
    <url>https://nexus.intranda.com/repository/maven-public</url>
  </repository>
</repositories>

<dependency>
  <groupId>de.intranda.api.iiif</groupId>
  <artifactId>iiif-api-model</artifactId>
  <version>1.1.6</version>
</dependency>

Examples

To deserialize a JSON stream, the Jackson ObjectMapper has to be configured as follows:

ObjectMapper mapper = new ObjectMapper();
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
mapper.configure(DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY, true);

Licence

The iiif-api-model is released under the license GPL2 or later. Please see LICENSE for more information.

Contributing

  • Fork it (https://github.com/intranda/iiif-api-model/fork)
  • Create your feature branch (git checkout -b feature/fooBar)
  • Commit your changes (git commit -am 'Add some fooBar')
  • Push to the branch (git push origin feature/fooBar)
  • Create a new Pull Request

iiif-api-model's People

Contributors

beechwell avatar janvonde avatar keelhaul avatar opaetzel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

min2ha

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.