Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/intranda/iiif-api-model
Java library to create and consume IIIF manifests
https://github.com/intranda/iiif-api-model
goobi iiif java manifests
Last synced: 1 day ago
JSON representation
Java library to create and consume IIIF manifests
- Host: GitHub
- URL: https://github.com/intranda/iiif-api-model
- Owner: intranda
- License: gpl-2.0
- Created: 2019-06-19T14:39:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-09T10:56:39.000Z (5 months ago)
- Last Synced: 2024-08-09T12:17:11.140Z (5 months ago)
- Topics: goobi, iiif, java, manifests
- Language: Java
- Homepage: https://intranda.com
- Size: 428 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```xml
intranda-public
https://nexus.intranda.com/repository/maven-public
de.intranda.api.iiif
iiif-api-model
1.1.6```
### Examples
To deserialize a JSON stream, the Jackson `ObjectMapper` has to be configured as follows:```java
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