如何反序列化 json 对象中存在键的指针?

How can I deserialize json object where in keys are present pointer?

我需要反序列化这个 json

{"dal.device.status":1,"dal.device.UID":"ZigBee:Yale Doorlock:ah.app.3781220503199452-1","service.bundleid":77,"dal.device.driver":"ZigBee","service.id":159,"service.scope":"singleton"}

但我不知道该怎么做,因为密钥中有指针(例如 "dal.device.status")我正在使用 google gson。
我能够使用 C# 和 Newtonsoft 库使用 ClassAttributes 反序列化这个对象。 java 有类似的东西吗?

在 json 中看到带有点的属性时的第一个问题应该是 "god, oh god, why ? why all this hatred ?"

但是如果地球处于危险之中,您可以使用 gson 将这个混乱反序列化为哈希图,然后从这里开始工作。