>
> At the moment the only way to pass a hashmap with the tm-new-tiddler 
> message is using the actionsendmessage widget:
>
> http://tiddlywiki.com/#ActionSendMessageWidget
>
> We'd need a new syntax for being able to specify a JSON tiddler to provide 
> the hashmap values.
>  
>

I created a small JavaScript macro to pass a  hasmap based from a  json 
tiddler. I attached it to this thread. Maybe it can be useful for somebody 
else.

It can be  used like:

<$button message="tm-new-tiddler" param=<<getjson "jsonTestTiddler">>> 
Create new from Json</$button>


Where jsonTestTiddler is a json tiddler that contains something like this:

{
"title":"created from JSON!",
"text":"This is nice"
}


 


> Great, I'm sorry it's such a slow process :)
>
> Best wishes
>
> Jeremy 
>
>
>

Slow but nice! Too much work for a single man, even with those nice 
collaborators. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Attachment: macros_getjson.tid
Description: Binary data

Reply via email to