cw-json 0.4.0

The cw-json repository now has version 0.4.0 of kmp-jsonpointer and kmp-jsonpointer-kxs.

In addition to the official JSON Pointer means of navigating JSON, this release adds unofficial-but-popular dot notation. It is the sort of syntax you see in template languages like Mustache, Handlebars, and Liquid. foo.bar.goo in dot notation is equivalent to /foo/bar/goo in official JSON Pointer syntax.

JsonPointer.from() now accepts all three core syntaxes:

There are dedicated functions like JsonPointer.fromDotNotation() for cases where you know the exact syntax that you want to support.

There is also a toDotNotation() function on JsonPointer instances that will give you the dot notation form of the pointer.

The Dokka documentation has been updated for 0.4.0.