Skip to content

How to deal with JSON-LD contexts #5

@lambdakris

Description

@lambdakris

I wanted to start a conversation about how to deal with JSON-LD contexts in Hydra.NET. As far as I can tell, there is no built-in way to generate JSON-LD contexts for classes/resources. Is this accurate?

Assuming that it is, I have resorted to using JsonLd.Entities which works well, but it has some down sides. First, it requires separate steps to utilize in addition to the use of Hydra.NET which could conceivably be consolidated. Second, it depends on Newtonsoft.Json while Hydra.NET depends on System.Text.Json. Third, the project has a number of out of date dependencies and it has not seen much activity in the past 2 years. As a result, I was wondering whether it was advisable to either:
1 - Contribute to or fork JsonLd.Entities to upgrade dependencies and port to System.Text.Json
2 - Port relevant JsonLd.Entities functionality into Hydra.NET (but targeting System.Text.Json)
3 - Start a new project for dealing with JSON-LD Context generation and other JSON-LD related stuff for the purposes of Hydra.NET

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions