27th June 2023 at 9:43am
Deserializer modules parse text in various formats into their JSON representation as tiddlers. The deserializer modules available in a wiki can be seen using the deserializers operator and can be used with the deserialize Operator.
The TiddlyWiki core provides the following deserializers:
Deserializer | Description |
---|---|
(DOM) | Extracts tiddlers from a DOM node, should not be used with the deserialize[] operator |
application/javascript | Parses a JavaScript module as a tiddler extracting fields from the header comment |
application/json | Parses JSON into tiddlers |
application/x-tiddler | Parses the .tid file format as a tiddler |
application/x-tiddler-html-div | Parses the <DIV>.tiddler file format as a tiddler |
application/x-tiddlers | Parses the MultiTiddlerFile format as tiddlers |
text/css | Parses CSS as a tiddler extracting fields from the header comment |
text/html | Parses an HTML file into tiddlers. Supports TiddlyWiki Classic HTML files, TiddlyWiki5 HTML files and ordinary HTML files |
text/plain | Parses plain text as a tiddler |