Initially, there is not serialisation selected and has to be selected manually. I would like to add some way to auto-detect the input type
- If it parses as plain JSON =>
JSON-LD
- If it parses as XML =>
RDF/XML
- Otherwise =>
TriG
This should be enough, since TriG will handle n-triples, turtle, and Trig. It leaves n-quads uncovered unless we could come up with a simple way to detect. Some regex? Ideas, @ktk?
Originally posted by @tpluscode in #33 (comment)
Initially, there is not serialisation selected and has to be selected manually. I would like to add some way to auto-detect the input type
JSON-LDRDF/XMLTriGThis should be enough, since TriG will handle n-triples, turtle, and Trig. It leaves
n-quadsuncovered unless we could come up with a simple way to detect. Some regex? Ideas, @ktk?Originally posted by @tpluscode in #33 (comment)