-
-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Proposal
Unsupported issue: Expected end of input but "r" found. (please open an issue at the repo)
at runFixer (/Users/lindongwu/Desktop/github/TiddlyGit-Desktop/node_modules/json-fixer/index.js:91:16)
Hope we can deal with unexpected ending of JSON.
Motivation
Sometimes, parallel file writing will result in a JSON like this one.
Use cases and examples
{"workspaces":{"bd2761d6-507f-4099-9289-8c15fdca3673":{"storageService":"local","userName":"","gitUrl":null,"isSubWiki":false,"mainWikiToLink":null,"mainWikiID":null,"name":"wiki","tagName":null,"port":5212,"wikiFolderLocation":"E:\twtest\001\wiki","active":true,"disableAudio":false,"disableNotifications":false,"hibernated":false,"hibernateWhenUnused":false,"homeUrl":"http://0.0.0.0:5212","id":"bd2761d6-507f-4099-9289-8c15fdca3673","lastUrl":"http://192.168.80.129:5212/#GettingStarted:GettingStarted","order":1,"picturePath":null,"subWikiFolderName":"subwiki","syncOnInterval":false,"syncOnIntervalDebounced":false,"syncOnStartup":true,"transparentBackground":false},"4339c1e8-1b86-43f4-a7f4-515eb584b46a":{"storageService":"local","userName":"","gitUrl":null,"isSubWiki":false,"mainWikiToLink":null,"mainWikiID":null,"name":"002","tagName":null,"port":5213,"wikiFolderLocation":"E:\\twtest\\002","active":false,"disableAudio":false,"disableNotifications":false,"hibernated":false,"hibernateWhenUnused":false,"homeUrl":"http://0.0.0.0:5213","id":"4339c1e8-1b86-43f4-a7f4-515eb584b46a","lastUrl":"http://192.168.80.129:5213/#","order":2,"picturePath":null,"subWikiFolderName":"subwiki","syncOnInterval":false,"syncOnIntervalDebounced":false,"syncOnStartup":true,"transparentBackground":false}}}ransparentBackground":false}}}
Hope this lib can auto remove ransparentBackground":false}}}
from the end.