Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
/ strason Public archive

Json parser that preserves field ordering and stores numbers as strings, preserving their full data

License

Notifications You must be signed in to change notification settings

apoelstra/strason

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Strason

This project was an early attempt to parse JSON with arbitary-precision numbers before the arbitrary_precision feature of serde_json was added.

It did so by abusing the serde API to sneak pointers through usizes, and later, by disguising pointers of unrelated types as &[u8]s. This involved unjustifiable assumptions about alignment and was likely unsound even when those assumptions were true.

It is now archived and unmaintained.

Do not use this crate. Use serde_json or another JSON parser instead.

About

Json parser that preserves field ordering and stores numbers as strings, preserving their full data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published