-
-
Notifications
You must be signed in to change notification settings - Fork 77
Closed
Description
Sometimes serialization formats share the wire. When this happens, it's useful to be able to tell from reading the first couple characters that the content should be routed to parser X. For example, "<" is a sign that we're in the XML family, "(" that we're looking at s-exp, "{" would be JSON, "%" YAML, etc. I would like to suggest that starting KDL documents with a node comment, "/-" (perhaps with some convention regarding metadata, such as version) would be a good best practice and perhaps a reasonable protocol recommendation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels