lucagez / slow-json-stringify

The slowest stringifier in the known universe. Just kidding, it's the fastest (:
https://github.com/lucagez/slow-json-stringify
MIT License
468 stars 17 forks source link

Parsing support #20

Open lucagez opened 3 years ago

lucagez commented 3 years ago

sjs could be able to support parsing functionality aswell. During the schema-creation phase, a template is created in memory. Providing a handful way of inserting values inside it during serialization.

It would be possible to leverage that same information in order to retrieve (parse) information faster as the template knows exactly where they were inserted in the first place.

Ofc, this would be guaranteed to work only when the parser and the serializer are sharing the same schema

paulocoghi commented 7 months ago

This is possibly the best next step for SJS :)