Hi David
Apologies, the example I gave for explaining the <p> tag behaviour wasn't
related to your original JSON question.
To retrieve a property from a JSON tiddler you can do this:
{{TiddlerTitle##PropertyName}}
Currently, there's no way to access properties nested in objects or arrays.
The plan is that there will be a clone/newhere command that duplicates the
current tiddler; it's a frequent request.
Best wishes
Jeremy
On Fri, Aug 16, 2013 at 10:23 AM, David Johnston <[email protected]>wrote:
> Thanks for the reply Jeremy,
>
> I tried the example you gave with my TW5 Tiddlywiki, I found that the
> example given did not work with the JSON or dictionary tiddler types,
> however it did retrieve the content of the field entries from any normal
> Tiddler. Should this: -
>
>
> <$transclude target="HelloThere">
> <$view field="title"/>
> </$transclude>
>
> work with an application/json type tiddler or did I misunderstand you? ...
> if it isn't meant to work with a json tiddler, is there an example of what
> would work?
>
> In addition is there a quick / easy mechanism for duplicating Tiddlers
> within TW5 (including their fields)?
>
> Thanks for your time and assistance!
>
> David
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" 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/tiddlywikidev.
> For more options, visit https://groups.google.com/groups/opt_out.
>
--
Jeremy Ruston
mailto:[email protected]
--
You received this message because you are subscribed to the Google Groups
"TiddlyWikiDev" 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/tiddlywikidev.
For more options, visit https://groups.google.com/groups/opt_out.