Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now that the `rdflib` package provides the functionality formerly in the package `rdflib-jsonld`, it would be helpful for the utility function `guess_format` to recognize file extensions indicative of JSON-LD content. This patch adds recognition of two file extensions, preserving syntax of the `SUFFIX_FORMAT_MAP` variable: * `.json` * `.jsonld` The latter is in recognition of the IANA media type `application/ld+json` reporting the `.jsonld` file extension. References: https://www.iana.org/assignments/media-types/application/ld+json via https://www.iana.org/assignments/media-types/media-types.xhtml via https://w3c.github.io/json-ld-syntax/#iana-considerations Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
- Loading branch information