Hi,

I didn't know that. Thanks.
But I don't want to have a tiddler as a json structure (with text, created, 
modified, ... fields).
I'd like to import something like that (it's been created in a code editor 
so it can be validated as a valid json object) :

{
    "tiddler": "DVDForme103.Enchainement",
    "description":"Enchainement complet de la forme 103 par Maître Yang Jun 
(DVD)",
    "séquences":
        [
            {"description":"Partie 1", "type": "Déroulé", "départ": 7},
            {"description":"Partie 2", "type": "Déroulé", "départ": 223},
            {"description":"Partie 3", "type": "Déroulé", "départ": 754}
        ],
    "technique":
        {
            "source":"DVD",
            "durée": 1489,
            "largeur": 640,
            "hauteur": 480,
            "taille": 14.67
        }
}

 Then I'd like to import this json expression inside a tiddler, or to be 
precise as the text field of a tiddler. If I drag the file that contains 
this expression, the import tiddler appears but with no file to import.

FrD




Le samedi 25 juillet 2015 20:19:16 UTC+2, Jed Carty a écrit :
>
> The answer is yes. You can't just import the JSON file that you want to be 
> stored in a tiddler though. Here is an example JSON file that would import 
> as a JSON data tiddler:
>
>
> [
>     {
>         "created": "20150725181648406",
>         "modified": "20150725181658829",
>         "title": "JSON tiddler",
>         "type": "application/json",
>         "text": "{\n    \"1\": \"2\",\n    \"3\": \"2\",\n    \"4\": 
> \"2\",\n    \"5\": \"2\"\n}"
>     }
> ]
>
> To get other examples just make json tiddlers in tiddlywiki and export 
> them as json files.
>
>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/07fdbf9b-2318-4bc9-a3ac-bc2ef9649a90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to