val mapping = Platymap.flow("customer")
.withFormat(Format.JSON)
.to("user")
.map("name").to("fullName")
.map("email").to("contactEmail")
.build()
val customerJson = """
{
"name": "John Doe",
"email": "[email protected]",
"age": 30
}
"""
val result = mapping.executeToJson(customerJson)
println(result)