3 ms·
True about the comments for json. But you could use: "_comment": "Some comment" or a similar convention. But you'd have to handle it somehow when instantiating
by e12e 9y ago
True about the comments for json. But you could use: "_comment": "Some comment" or a similar convention. But you'd have to handle it somehow when instantiating objects.
I do like python style docstring comments that are available in the object graph.
Which would allow for checking (live) config comments at run time:
config.server => "10.x.x"
config.server.comment => "This is on a private ip network because..."