GitXplorerGitXplorer
Q

MonadicJSON

public
16 stars
5 forks
1 issues

Commits

List of commits on branch master.
Unverified
a8b6fae20417e86daee79eeb3fad545ee6b478c5

Lower minimum OS requirements

QQata committed 3 years ago
Unverified
79344b8825887e2cb6e545ba3e3cd1dd6f7eb55e

Remove irrelevant files

QQata committed 3 years ago
Unverified
541c16f5ae0d7157f975c54dec242ac786c72b52

Make encodable function public

QQata committed 3 years ago
Unverified
743ced21e97fe4f78012a986eb3d74c9081bd8b3

Add encodable option for JSON structure

QQata committed 3 years ago
Unverified
33dd5361c5d21debe25a3f25be83f5918eb219d1

Make JSON Codable and Hashable

QQata committed 3 years ago
Unverified
74d36c4e85e0fc57444c6c2225c255415ab38530

Move sources to correct folder

QQata committed 3 years ago

README

The README file for this repository.

MonadicJSON

The JSONDecoder supplied by Foundation is currently broken when it comes to isomorphic decoding of JSON numbers with fractional precision (what would be decoded to Float, Double and Decimal). You can read about the issue on the Swift bugtracker.

This project does not aim to be faster than the built-in JSONSerialization-based JSONDecoder, simply to be correct. Tests have shown a significant slowdown when using this decoder over the inbuilt one, so if you don't need absolute precision, do not use this decoder.

This project is not intended as a permanent replacement for JSONDecoder, but purely as a stopgap until SR-7054 is resolved.