-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Any plan to implement JSON-LD Framing? #61
Comments
Not in a near future unfortunately. There is still a lot of progress to make on this library as it is, and framing sounds like a huge task to tackle right now. Just for information if anyone is interested, I've been working on the #[serde(linked_data::Deserialize, serde::Serialize)]
struct Foo {
#[ld("http://schema.org/name")]
name: String
}
let dataset = json_ld.rdf_quads().collect(); // deserialize JSON-LD into RDF
let foo = Foo::deserialize(dataset) // deserialize RDF into `Foo`
let json = serde_json::to_value(&foo) // serialize `Foo` into JSON In this example I'm using |
I totally understand :) I don't have an urgent need for it, but was just curious. Feel free to close this issue, or leave it open as a long-term feature request. Whatever you find most appropriate. |
(the title says it all...)
The text was updated successfully, but these errors were encountered: