JSON looks like this
{
key: value,
var1: 10,
string: some text,
object: {
nested: this is a nested object
},
array: [
a,
b
]
}
So the keys eg: key, var1 .. always needs the quotes
The , comma is used to separate a key:value pair.
I did use
Hi PMario, thanks for your swift reply.
I expect indeed one of these typos will be the reason.
My question however was to find the tiddler(s) that contains invalid JSON
data.
fET only indicates that there is an error somewhere, but doesn't state
which tiddler causes it.
I pasted the url of my
You could use your browsers dev tools.
eg: Chrome has the best built in tools at the moment.
Open your TW with chrome.
open the dev tools F12
select the sources tab
page reload. ... If you are lucky it may tell you more
-m
--
You received this message because you are subscribed to the Google
OK, got it solved ! :-D
I used this script in a fET, iterating all tiddlers
script '
function test(tiddler) {
config.options.txtTESTVar=tiddler.title
var txt =
if (DataTiddler.getData(tiddler.title,parent,false))
On Monday, April 7, 2014 9:55:30 PM UTC+2, Kriss wrote:
txtTESTVar revealed the names of the faulty tiddlers.
Can you tell us, what the problem was? just for reference.
-m
--
You received this message because you are subscribed to the Google Groups
TiddlyWiki group.
To unsubscribe from
Well, as stated in my opening post, I had a data line like this
parent: ,data text,
As you can see there is a , too much behind the : A simple and obvious
typo.
This one typo disabled all fET functionality that made use of the
datatiddler functions.
(I have 285 tiddlers with data
6 matches
Mail list logo