Skip to content

Replace exjsx with jason - #41

Merged
edgurgel merged 2 commits into
edgurgel:masterfrom
gilbertwong96:replace-jsx-with-jason
Jun 27, 2026
Merged

edgurgel merged 2 commits into
edgurgel:masterfrom
gilbertwong96:replace-jsx-with-jason

Conversation

@gilbertwong96

Copy link
Copy Markdown
Contributor

exjsx is unmaintained and the underlying jsx library has been archived.

This swaps :exjsx for :jason and introduces a small HTTParrot.JSON wrapper that recursively converts keyword lists, lists of two-element tuples, and the [{}] empty-object placeholder into Jason.OrderedObject, so the encoded JSON is byte-identical to the previous output (same key order, same [{}] → {} behavior).

  • All 82 tests pass
  • Live endpoints (/get, /cookies, /headers, /user-agent) return the expected JSON

Closes the open issue about jsx being archived.

@gilbertwong96
gilbertwong96 force-pushed the replace-jsx-with-jason branch from 4b28040 to 2f74f6c Compare June 25, 2026 05:12
@gilbertwong96 gilbertwong96 reopened this Jun 25, 2026
@gilbertwong96
gilbertwong96 marked this pull request as ready for review June 25, 2026 05:15
@edgurgel

Copy link
Copy Markdown
Owner

Thank you! Will review tomorrow

@edgurgel
edgurgel merged commit 02f7289 into edgurgel:master Jun 27, 2026
3 checks passed
@gilbertwong96
gilbertwong96 deleted the replace-jsx-with-jason branch June 28, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants