summaryrefslogtreecommitdiff
path: root/docs/runtime_usage.md
diff options
context:
space:
mode:
authorLeonid Startsev <sandwwraith@gmail.com>2018-05-16 14:29:46 +0300
committerLeonid Startsev <sandwwraith@users.noreply.github.com>2018-07-13 14:59:32 +0300
commit4a72d2f5e9b3c13778fd72e3434fa72298432930 (patch)
tree8abb31cf2fd56179e9610a5534499196175d48ff /docs/runtime_usage.md
parentbd9a52d10b48ad9d6f19b5c2b16f9147d061d5e6 (diff)
downloadkotlinx.serialization-4a72d2f5e9b3c13778fd72e3434fa72298432930.tar.gz
[JSON-AST] Docs writeup
Diffstat (limited to 'docs/runtime_usage.md')
-rw-r--r--docs/runtime_usage.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/runtime_usage.md b/docs/runtime_usage.md
index 85d15527..04bdd09d 100644
--- a/docs/runtime_usage.md
+++ b/docs/runtime_usage.md
@@ -142,6 +142,10 @@ val map: Map<String, Any> = Mapper.map(Data(42, "foo")) // mapOf("first" to 42,
To get your object back, use `unmap` function. To support objects with nullable values, use `mapNullable` and `unmapNullable`
+### JSON Tree Mapper
+
+`JsonTreeMapper` allows to map [abstract JSON syntax tree](../json/README.md) onto Kotlin classes and back with `readTree` and `writeTree` correspondingly.
+
### Dynamic object parser (JS only)
Allows you to convert JS objects of `dynamic` types into fair correct Kotlin objects.