Skip to content

Latest commit

 

History

History
70 lines (47 loc) · 2.33 KB

README.md

File metadata and controls

70 lines (47 loc) · 2.33 KB

Titanium JCS

An implementation of the RFC 8785 JSON Canonicalization Scheme (JCS) specification in Java, utilizing Jakarta JSON Processing.

Java 8 CI Codacy Badge Codacy Badge Maven Central javadoc License

Formerly part of Titanium JSON-LD

Example

// The canonical version is written to a provided Writer.
JsonCanonicalizer.canonize(JsonValue, Writer);

Installation

Maven

<dependency>
    <groupId>com.apicatalog</groupId>
    <artifactId>titanium-jcs</artifactId>
    <version>1.0.0</version>
</dependency>

Ensure that the JSON-P provider is added to the classpath if it is not already present.

<dependency>
    <groupId>org.glassfish</groupId>
    <artifactId>jakarta.json</artifactId>
    <version>2.0.1</version>
</dependency>

Gradle

implementation("com.apicatalog:titanium-jcs:1.0.0")
implementation("org.glassfish:jakarta.json:2.0.1")

Contributing

All PR's welcome!

Building

Fork and clone the project repository.

> cd titanium-jcs
> mvn package

Resources