想把json里面的数据读取出来,不知道哪点出错了,希望大佬指教一下
为什么解析json数据是object?,怎么把json数据对应的值提取出来Why is the parsed json data object? , how to extract the corresponding value of json data
为什么解析json数据是object?,怎么把json数据对应的值提取出来想把json里面的数据读取出来,不知道哪点出错了,希望大佬指教一下
I want to read the data in JSON. I don't know what went wrong. I hope the boss can give me some advice
回答:
json对象 无法显示的,要么console.log打印出来
假如你非常渴望显示,得变成字符串,用 JSON.stringify(你的对象)
不能直接显示json对象,需要点出来,基础不行啊
8个小时了,这个问题居然还没解决~