Add gleamson json library to JSON section#263
Open
atesbazi wants to merge 1 commit into
Open
Conversation
Member
|
Hello! The code looks like it would be very slow compared to What would you say is the motivation for use to have a second JSON package on the list? |
Author
|
Hi Louis,
First of all, this is my hobby project.
No benchmarks yet , and gleamson is pure Gleam, so it will almost certainly
be slower than gleam_json,
*Speed wasn't really the goal. *
It was an exploration of a different shape: a transparent Json value you
can pattern-match and walk,
the same behaviour and the same positioned parse errors on both targets,
plus a few things built in — pretty-printing, merge (RFC 7386).
I'll put together real benchmarks against gleam_json in my free time
:) I'll try to keep you informed whenever I have time.
thank you for taking a look.
Mehmet Âkif Yıldız
…On Sun, Jun 7, 2026 at 1:53 AM Louis Pilfold ***@***.***> wrote:
*lpil* left a comment (gleam-lang/awesome-gleam#263)
<#263 (comment)>
Hello! The code looks like it would be very slow compared to gleam_json.
Have you benchmarks for parsing and for creating JSON? On both Erlang and
JavaScript.
—
Reply to this email directly, view it on GitHub
<#263?email_source=notifications&email_token=BIOIG3Y56ZWVBZYHBEIKILL46SOG5A5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTINRUGA3DSMRTGAZKM4TFMFZW63VGMF2XI2DPOKSWK5TFNZ2KYZTPN52GK4S7MNWGSY3L#issuecomment-4640692302>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BIOIG37LMOYJBTFDZTVRAGD46SOG5AVCNFSM6AAAAACZ4IZF3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DMNBQGY4TEMZQGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Member
|
Lovely! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A pure-Gleam JSON library. A transparent value tree, combinator decoders that accumulate every error, and the very same behaviour on Erlang and JavaScript.