From 38bb95d35ffc481b3500cdf311e9766b6112f3f8 Mon Sep 17 00:00:00 2001
From: zkat
There are two specifications for writing KDL that can be losslessly translated +between it and JSON or XML. These specifications define a stricter subset of +KDL that, even if not entirely idiomatic, is still valid and fits into the +data models of the other two languages:
+ +Same as "cuddle".
-A file containing KDL should end with .kdl.
Because nothing out there felt quite right. The closest one I found was SDLang, but that had some design choices I disagreed with.
@@ -227,6 +236,9 @@ strict syntax, as well as its lack of support for comments. forgiving syntax without being so flexible as to allow certain classes of unfortunate mistakes. It also has much more flexibility around how to represent data. +If you need to interoperate with a service that consumes or emits JSON, or for +some other reason have need to write "JSON in KDL", we have JiK, an official +microsyntax for losslessly encoding JSON.
It nests very poorly. It doesn't fare well with large files.
If you need to interoperate with a service that consumes or emits XML, or for +some other reason have need to write "XML in KDL", we have XiK, an official +microsyntax for losslessly encoding XML.