我试图显示从web api收集的项目的json列表,统一,只是为了调试,然后在文本字段中为用户显示。但是列表总是显示为空,我无法弄清楚原因。
我尝试收集并显示数据:
{"status":"success","cards":["\"A\" Cell Breeding Device","\"A\" Cell Incubator","\"A\" Cell Recombination Device","\"A\" Cell Scatter Burst","1st Movement Solo","3-Hump Lacooda","30,000-Year White Turtle","4-Starred Ladybug of Doom","7","7 Colored Fish",
“size”总是被调试为0,而foreach循环实际上永远不会发生 我的班级数据:
SELECT * FROM MyTable
ORDER BY Name, Code
我尝试转换的json数据片段:
SELECT *, (Name + Code) AS NameCode FROM MyTable
ORDER BY NameCode