You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In web.js, function parse(str, kb, base, contentType, callback) handles contentType application/ld+json by using JSON.parse to parse the JSON document, use jsonld.toRDF to convert the jsonDocument o application/nquads, then re-parses the nquads with the n3Parser - causing the text to be parsed twice in two different formats.
File jsonparser.js defines the $rdf.jsonParser which would seem to parse the JSON or JSON-LD directly into the kb without going through the extra format conversion. However, I can't find anyplace this parser is used. What is this parser intended to be used for, and why isn't used in the parse function?
The text was updated successfully, but these errors were encountered:
In web.js, function parse(str, kb, base, contentType, callback) handles contentType application/ld+json by using JSON.parse to parse the JSON document, use jsonld.toRDF to convert the jsonDocument o application/nquads, then re-parses the nquads with the n3Parser - causing the text to be parsed twice in two different formats.
File jsonparser.js defines the $rdf.jsonParser which would seem to parse the JSON or JSON-LD directly into the kb without going through the extra format conversion. However, I can't find anyplace this parser is used. What is this parser intended to be used for, and why isn't used in the parse function?
The text was updated successfully, but these errors were encountered: