vec: merge ws/data (codecs/Xml, codecs/Json)
This commit is contained in:
commit
c371839331
20 files changed
+3708
-3
No files matched your search
@@ -26,6 +26,30 @@ local list: { Entry } = {
|
||||
return require("@formats/image/png")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "json",
|
||||
category = "data",
|
||||
path = "data/json",
|
||||
extensions = { "json", "jsonl", "ndjson", "geojson" },
|
||||
mime = { "application/json", "application/x-ndjson" },
|
||||
deps = { "core/Err", "core/Bytes", "codecs/Json" },
|
||||
caps = { decode = true, encode = true, ordered = true, streaming = true },
|
||||
load = function()
|
||||
return require("@formats/data/json")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "xml",
|
||||
category = "data",
|
||||
path = "data/xml",
|
||||
extensions = { "xml", "xsd", "xsl", "xslt", "rss", "atom", "xhtml" },
|
||||
mime = { "application/xml", "text/xml" },
|
||||
deps = { "core/Err", "core/Bytes", "Types", "codecs/Xml" },
|
||||
caps = { decode = true, encode = true, namespaces = true, streaming = true },
|
||||
load = function()
|
||||
return require("@formats/data/xml")
|
||||
end,
|
||||
},
|
||||
{
|
||||
name = "aseprite",
|
||||
category = "layered",
|
||||
|
||||
Reference in new issue
Block a user