Improving subtiddlers JSON exporting.
This commit is contained in:
parent
417ec17d3c
commit
cb891a5c94
@ -353,7 +353,7 @@ TiddlyWiki >> jsonFile: aFileLocator [
|
||||
{ #category : #accessing }
|
||||
TiddlyWiki >> jsonSubtiddlers: subtiddlersCollection [
|
||||
| subtiddlersDict |
|
||||
subtiddlersDict := subtiddlersCollection collect: [:tiddler | tiddler asDictionary ].
|
||||
subtiddlersDict := subtiddlersCollection asArray collect: [:tiddler | tiddler asDictionary ].
|
||||
^ STONJSON toStringPretty: subtiddlersDict
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user