Skip to content

Recommendation to encode (lists of) flat key-value pairs #150

Answered by zkat
nichtich asked this question in Q&A
Discussion options

You must be logged in to vote
answer 42
author "Douglas Adams"
work "The Hitchhiker's Guide to the Galaxy"

This is definitely how I would encode it myself. Properties aren't meant for arbitrary amounts of metadata, but more for limited "metadata" for a node itself. So, a small list of flags, etc. If you want a lot of things, then children is usually the way to go for sure.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nichtich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants