Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON template literals #117

Open
NickSeagull opened this issue Sep 7, 2024 · 0 comments
Open

JSON template literals #117

NickSeagull opened this issue Sep 7, 2024 · 0 comments
Labels
effort: 1 Takes roughly 1 hour (w/ docs+testing) package: core Related to the core libraries type: feature work: obvious Straightforward tasks with known solutions; follow best practices

Comments

@NickSeagull
Copy link
Contributor

NickSeagull commented Sep 7, 2024

By integrating aeson-qq we can easily allow writing JSON values in a template literal.

The quasiquoter should be called json so it allows for code like:

[json| {a: 3} |]
@NickSeagull NickSeagull added type: feature package: core Related to the core libraries effort: 1 Takes roughly 1 hour (w/ docs+testing) work: obvious Straightforward tasks with known solutions; follow best practices labels Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: 1 Takes roughly 1 hour (w/ docs+testing) package: core Related to the core libraries type: feature work: obvious Straightforward tasks with known solutions; follow best practices
Projects
None yet
Development

No branches or pull requests

1 participant