open-campaign-logger / generator-library

This repository contains the generator library files for https://campaign-logger.com/generator which can be referenced like this: "{lib:adjColor}".
Apache License 2.0
31 stars 13 forks source link

Comments within json #15

Open hkokko opened 7 years ago

hkokko commented 7 years ago

Is there a way one could attach comments to any subtable within json

evesala commented 7 years ago

You can use the explanation property - see the file format example (or any of my commits). https://github.com/open-campaign-logger/generator-library/blob/master/json/_file-format.json

Tables being JSON, they are not comments in the traditional sense, but still usable for adding notes.

hkokko commented 7 years ago

Ah, i did not take a look at the latest. i thought I saw One of the earlier ones that had the explanation property only at top so I thought that was the only place it can be