diff --git a/src/main/kotlin/org/dashj/platform/dpp/document/Document.kt b/src/main/kotlin/org/dashj/platform/dpp/document/Document.kt index b2d3684..9c59d29 100644 --- a/src/main/kotlin/org/dashj/platform/dpp/document/Document.kt +++ b/src/main/kotlin/org/dashj/platform/dpp/document/Document.kt @@ -94,7 +94,7 @@ class Document(rawDocument: Map, dataContract: DataContract) : Bas } fun get(path: String): Any? { - val keys = path.split("/") + val keys = path.split('.') var value: Any? = data for (key in keys) { if ((value as Map).containsKey(key)) {