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

Hierarchical JSON and @reverse #83

Open
MonkeyChap opened this issue May 19, 2020 · 0 comments
Open

Hierarchical JSON and @reverse #83

MonkeyChap opened this issue May 19, 2020 · 0 comments

Comments

@MonkeyChap
Copy link

Hi,

I've just been trying out your serializer, and it's really useful. I just wondered, given that the purpose of JSON-LD was to provide a more web-developer-friendly form of JSON, if it's possible to configure the serializer to embed nodes in a tree rather than having each node as a root object ? That would make it much easier and more familiar for web developers to use - i.e. they don't have to go searching for the related node.

Also, in JSON-LD 1.1 there is the @reverse directive (again, aimed at making it easier to construct a tree). I can add the directive to the @context, but it doesn't seem to make any difference. Is there a plan to support this ?

Thanks

Ian

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

1 participant