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

Compile-time JSON-LD context expansion #21

Closed
wyc opened this issue Aug 20, 2020 · 1 comment
Closed

Compile-time JSON-LD context expansion #21

wyc opened this issue Aug 20, 2020 · 1 comment

Comments

@wyc
Copy link
Contributor

wyc commented Aug 20, 2020

If we were to build a JSON-LD library, I wonder how tenable would be the idea of resolving and expanding contexts into code via metaprogramming prior to compilation. We could assume the JSON files are in hand--I wonder if there would be any benefits from a safety and performance perspective, and how much binary bloat such a flag might add. Just a thought--this is likely one of those "someday maybe" features that we revisit when the need actually arises.

cc @clehner

@clehner
Copy link
Contributor

clehner commented Aug 28, 2020

Similar idea for JSON Schema: https://github.com/Marwes/schemafy/

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

No branches or pull requests

2 participants