User Tools

Site Tools


start

This is an old revision of the document!


JSON database integrated into DokuWiki

With plugins described here you can build JSON database inside dokuwiki pages. JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is a Document-oriented database, so no SQL is used.

null
{
    "name": "Butter cookie",
    "type": "cookie",
    "Ingredients": {
        "eggs": "3",
        "flour": "500 g",
        "sugar": "350 g",
        "butter": "250 g"
    }
}
  • element: json, id: r1, path: recipe, inline data

Above is a recipe for a Butter cookie. It has the following ingredients:

eggs3
flour500 g
sugar350 g
butter250 g

There is much more. For further information see:

start.1698339816.txt.gz · Last modified: 2023/10/26 19:03 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki