mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-19 02:39:42 +00:00
26 lines
1.5 KiB
Plaintext
26 lines
1.5 KiB
Plaintext
|
caption: deserialize
|
||
|
created: 20230601195749377
|
||
|
from-version: 5.3.0
|
||
|
modified: 20230602105513132
|
||
|
op-input: a selection of strings
|
||
|
op-output: JSON representations of tiddlers extracted from input titles.
|
||
|
op-parameter: the deserializer module to be used to extract tiddlers from the input
|
||
|
op-purpose: extract JSON representation of tiddlers from the input strings
|
||
|
tags: [[Filter Operators]] [[Special Operators]]
|
||
|
title: deserialize Operator
|
||
|
type: text/vnd.tiddlywiki
|
||
|
|
||
|
<<.tip "Deserializer modules parse text in various formats into their JSON representation as tiddlers. You can see the deserializers available in a wiki using the [[deserializers operator|deserializers Operator]].">>
|
||
|
|
||
|
|!Deserializer |!Description |
|
||
|
|(DOM)|Extracts tiddlers from a DOM node, should not be used with the <<.op deserialize[]>> operator |
|
||
|
|application/javascript|Parses a JavaScript module as a tiddler extracting fields from the header comment|
|
||
|
|application/json|Parses [[JSON|JSON in TiddlyWiki]] into tiddlers|
|
||
|
|application/x-tiddler|Parses the [[.tid file format|TiddlerFiles]] as a tiddler|
|
||
|
|application/x-tiddler-html-div|Parses the [[<DIV>.tiddler file format|TiddlerFiles]] as a tiddler|
|
||
|
|application/x-tiddlers|Parses the [[MultiTiddlerFile format|MultiTiddlerFiles]] 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|
|
||
|
|
||
|
<<.operator-examples "deserialize">>
|