68 lines
1.5 KiB
Markdown
68 lines
1.5 KiB
Markdown
# format json à partir d'un fichier orgmode
|
|
|
|
Exemple de fichier json exporté par ox-json
|
|
```json
|
|
{
|
|
"$$data_type": "org-document",
|
|
"properties": {
|
|
"title": [
|
|
"Trucs pour apprendre à bien utiliser orgmode"
|
|
],
|
|
"filetags": [],
|
|
"author": [
|
|
"tykayn"
|
|
],
|
|
"creator": "Emacs 27.1 (Org mode 9.5.3)",
|
|
"date": [],
|
|
"description": [],
|
|
"email": "contact@cipherbliss.com",
|
|
"language": "en"
|
|
},
|
|
"contents": [
|
|
{
|
|
"$$data_type": "org-node",
|
|
"type": "section",
|
|
"ref": "orgfa6b7c4",
|
|
"properties": {
|
|
"robust-begin": 1,
|
|
"robust-end": 131,
|
|
"post-blank": 2,
|
|
"post-affiliated": 1,
|
|
"mode": "first-section",
|
|
"granularity": null
|
|
},
|
|
"contents": [
|
|
{
|
|
"$$data_type": "org-node",
|
|
"type": "paragraph",
|
|
"ref": "orge46bba4",
|
|
"properties": {
|
|
"post-blank": 0,
|
|
"post-affiliated": 49,
|
|
"mode": "property-drawer",
|
|
"granularity": null
|
|
},
|
|
"contents": [
|
|
"Archived entries from file /home/tykayn/Nextcloud/textes/orgmode/exported",
|
|
{
|
|
"$$data_type": "org-node",
|
|
"type": "subscript",
|
|
"ref": "orgf62d4c0",
|
|
"properties": {
|
|
"use-brackets-p": false,
|
|
"post-blank": 0
|
|
},
|
|
"contents": [
|
|
"tasks.org"
|
|
]
|
|
},
|
|
"\n"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
|
|
|
|
}
|
|
``` |