Araq/packedjson
View on GitHub ↗ ★ 72 Nim
packedjson is an alternative Nim implementation for JSON. The JSON is essentially kept as a single string in order to save memory over a more traditional tree representation.
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2019-12-26 · latest 2023-07-02
20082026
-
…Also there are two JSON implementations with a flat architecture https://github.com/Araq/packedjson and https://github.com/planetis-m/packedjson2 (this one I wrote) But I agree it's a pain to write it like that.
comment by planetis · 2023-07-02 · in Flattening ASTs and other compiler data structures -
…and even Araq, Nim language creator, has his own JSON library: https://github.com/Araq/packedjson This allows Nim to be in the top10 of json parsing in TechEmpower: http://www.techempower.com/benchmarks/#section=data-r18&
comment by mratsim · 2019-12-26 · in Nim vs. Crystal -
…on average the performance of software written in Crystal and Nim should be about the same. 1 - https://github.com/Araq/packedjson
comment by dom96 · 2019-12-26 · in Nim vs. Crystal