I would like to replace jsonld.js with this package in the @rdfjs/parser-jsonld package. One feature I'm currently not able to implement is the prefix event. This logic is used, which requires access to the context object. Let's not discuss how good or bad the logic is. I just want to keep the status quo. The debugger didn't help me find the context assigned as an internal property.
Is the context already assigned to a property? If not, can you add access to the context? I would propose a context event where the context object is given as an argument.
I would like to replace
jsonld.jswith this package in the@rdfjs/parser-jsonldpackage. One feature I'm currently not able to implement is theprefixevent. This logic is used, which requires access to the context object. Let's not discuss how good or bad the logic is. I just want to keep the status quo. The debugger didn't help me find the context assigned as an internal property.Is the context already assigned to a property? If not, can you add access to the context? I would propose a
contextevent where the context object is given as an argument.