Add support for JSON input/output of Story, Passage, and Story Format objects
videlais opened this issue · comments
As noted in Road to Extwee 2.2, Extwee 2.2 (like Twine-Utils) should be able to input and output JSON representations of stories, passages, and story formats for easier inter-process and library communication.
- Add
JSONWriter.js
withfromStory()
,fromPassage()
andfromStoryFormat()
+ tests. - Add
JSONParser.js
withtoStory()
,toPassage()
, andtoStoryFormat()
+ tests.