See: Description
| Class | Description |
|---|---|
| Jcs |
An implementation of the
RFC 8785 JSON Canonicalization Scheme (JCS) specification in Java.
|
| JsonCanonicalizer | Deprecated
Use
Jcs instead. |
The JCS specification defines a deterministic way to serialize JSON so that the same JSON data model always produces the same byte sequence. This ensures stable and repeatable representations of JSON values, which is critical for use cases such as digital signatures, hashing, and integrity verification.
The Jcs class offers methods for:
com.apicatalog.jcs.Jcs#canonize(javax.json.JsonValue) and related
methods.com.apicatalog.jcs.Jcs#equals(javax.json.JsonValue, javax.json.JsonValue).This package relies on Jakarta JSON Processing (JSON-P) for parsing and representing JSON data.
Copyright © 2020–2025. All rights reserved.