Canonical JSON java

JAVA library for producing JSON in canonical format.

License

License

Categories

Categories

JSON Data
GroupId

GroupId

com.stratumn
ArtifactId

ArtifactId

canonicaljson
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

jar
Description

Description

Canonical JSON java
JAVA library for producing JSON in canonical format.
Project URL

Project URL

https://github.com/stratumn/canonicaljson-java
Source Code Management

Source Code Management

https://github.com/stratumn/canonicaljson-java

Download canonicaljson

How to add to project

<!-- https://jarcasting.com/artifacts/com.stratumn/canonicaljson/ -->
<dependency>
    <groupId>com.stratumn</groupId>
    <artifactId>canonicaljson</artifactId>
    <version>0.0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.stratumn/canonicaljson/
implementation 'com.stratumn:canonicaljson:0.0.2'
// https://jarcasting.com/artifacts/com.stratumn/canonicaljson/
implementation ("com.stratumn:canonicaljson:0.0.2")
'com.stratumn:canonicaljson:jar:0.0.2'
<dependency org="com.stratumn" name="canonicaljson" rev="0.0.2">
  <artifact name="canonicaljson" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.stratumn', module='canonicaljson', version='0.0.2')
)
libraryDependencies += "com.stratumn" % "canonicaljson" % "0.0.2"
[com.stratumn/canonicaljson "0.0.2"]

Dependencies

compile (1)

Group / Artifact Type Version
com.google.code.gson : gson jar 2.8.5

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Java Canonicaljson

Java library for producing JSON in canonical format as specified by https://gibson042.github.io/canonicaljson-spec/. The provided interface matches that of native JSON object.

Installation

Maven

com.stratumn.canonicaljson

Usage

import com.stratumn.canonicaljson;

String result = CanonicalJson.stringify(CanonicalJson.parse("{ \"a\": 12 }"));

Development

Integration tests are located in canonicaljson-spec .

com.stratumn

Stratumn

Stratumn's Proof of Process Technology enables people and organizations to trust the millions of processes that connect our world

Versions

Version
0.0.2
0.0.1