build

fun build(): JsonObject

Assembles the accumulated properties into a JsonObject and applies truncation recursively to every string in the tree.