开发者

How can i access nested key value pair through gwt dictonary

开发者 https://www.devze.com 2023-02-17 21:27 出处:网络
My string is{ level1:{level2:{level3:\'level3\'}} } Dictionary dict= Dictionary.getDictionary(\"somevar\");

My string is { level1:{level2:{level3:'level3'}} }

Dictionary dict= Dictionary.getDictionary("somevar"); dict.get("level1开发者_Go百科.level2.level3")

is showing missing resourse exception.


GWT's Dictionary doesn't support nested associative arrays. If you need to access data stored as such you need to create an overlay type.

0

精彩评论

暂无评论...
验证码 换一张
取 消