Improving subtiddlers JSON exporting.

This commit is contained in:
ruidajo 2022-03-18 19:09:44 -05:00
parent 417ec17d3c
commit cb891a5c94

View File

@ -353,7 +353,7 @@ TiddlyWiki >> jsonFile: aFileLocator [
{ #category : #accessing } { #category : #accessing }
TiddlyWiki >> jsonSubtiddlers: subtiddlersCollection [ TiddlyWiki >> jsonSubtiddlers: subtiddlersCollection [
| subtiddlersDict | | subtiddlersDict |
subtiddlersDict := subtiddlersCollection collect: [:tiddler | tiddler asDictionary ]. subtiddlersDict := subtiddlersCollection asArray collect: [:tiddler | tiddler asDictionary ].
^ STONJSON toStringPretty: subtiddlersDict ^ STONJSON toStringPretty: subtiddlersDict
] ]