-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
In Ruby, it is possible to get a string of a canonicalized graph like this (code from Mastodon):
def canonicalize(json)
graph = RDF::Graph.new << JSON::LD::API.toRdf(json, documentLoader: method(:load_jsonld_context))
graph.dump(:normalize)
endI'm trying to do something similar in Elixir to verify JSON-LD signatures in ActivityPub.
I guess :normalize would be a serialization format. Is this library able to do it at this time?
Metadata
Metadata
Assignees
Labels
No labels