Announcing cw-json

A long time ago, I published a bunch of Android libraries. Most have since been retired, and it has been quite some time since I published any new code.

I am starting to do more Kotlin Multiplatform work, and so I have published my first KMP library: cw-json.

This will be a collection of artifacts all dealing with JSON. Right now, two are available, both tied to JSON Pointer:

  • com.commonsware.json:kmp-jsonpointer is a JSON Pointer implementation for KMP, defining a JsonPointer type with functions to let you manipulate pointers

  • com.commonsware.json:kmp-jsonpointer-kxs lets you access and mutate JsonObject and JsonArray types from Kotlin Serialization JSON using pointers

Both artifacts are pretty small, but they are the first building blocks in something larger that I have planned.

They are pure Kotlin and are set up to support most major KMP platforms. If you encounter any problems, please raise an issue.