Skip to content

Commit dd40a25

Browse files
committed
Update note on corner case decimals
1 parent 5a82944 commit dd40a25

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Titanium JCS
22

3-
> ⚠️ **Warning** JCS is flawed and lacks true portability. By forcing other languages to emulate ECMAScript’s number handling, it creates fragile, incompatible implementations. Use it only if explicitly required.
4-
53
The JSON Canonicalization Scheme (JCS) defines a deterministic way to serialize JSON so that the same JSON data model always produces the same byte sequence.
64

75
This is critical for use cases such as digital signatures, hashing, and data integrity verification, where even small differences in whitespace, member ordering, or number formatting would otherwise break validation.
@@ -31,6 +29,8 @@ Titanium JCS is a Java implementation of the [RFC 8785 JSON Canonicalization Sch
3129
Built on a uniform [Tree I/O API](https://github.com/filip26/tree-io) for JSON data processing.
3230
Jackson and Jakarta are supported out of the box.
3331

32+
> 📝 Note: Handling decimals in JSON is a known challenge, and certain corner cases may not behave as expected. JCS adheres to ECMAScript’s number handling, which can reflect these limitations with decimal values.
33+
3434
## Example
3535

3636
```javascript

0 commit comments

Comments
 (0)