Json key with “.” as separator
问题 I am using JSON to save settings and load them again after a restart. But now I want to use keys like "category.subcategory.variable" to get the value. I imagine something like boolean foo = json.get("category.subcategory.foo"); String bar = json.get("category.bar"); json.set("category.subcategory.baz", baz); and the json looks like this { category: { subcategory: { foo: false, baz: ["baz"] }, bar: "bar" } } I'm also using Gson, maybe it is possible there, but if it is only possible with