【发布时间】:2015-09-04 08:39:07
【问题描述】:
你好堆栈溢出,
这是我的第一篇文章,我遇到了一个问题,我需要解析这个文本并将其转换为一个数组(它来自数据库)。
"TableToKeyValues"
{
"inventory"
{
"slot2"
{
"amount" "10"
"item" "wood_plank"
}
"slot1"
{
"amount" "10"
"item" "metal"
}
"slot3"
{
"amount" "10"
"item" "plastic"
}
}
}
感谢 rtm516。
【问题讨论】: