lines-are-beautiful icon indicating copy to clipboard operation
lines-are-beautiful copied to clipboard

Meta-Data Read & Write

Open ax3l opened this issue 5 years ago • 0 comments

Read and write the JSON meta data and store it in our objects.

Per notebook:

  • UUID.content: orientation, pageCount, ...
  • UUID.metadata: deleted, lastModified, metadatamodified, modified, pinned, synced, type, version, visibleName
  • UUID.pagedata: N lines with name of background (not a JSON)

Per page (missing in example):

  • UUID/<N>-metadata.json
{
    "layers": [
        {
            "name": "Layer 1"
        }
    ]
}

(also sometimes an empty string: "name": "")

We will use nlohmann/json as in-code dependency.

ax3l avatar Feb 10 '19 00:02 ax3l