【发布时间】:2014-10-03 08:58:23
【问题描述】:
我有这个 JSON 对象
{1: "test projekt", 4: "Second Project",
5: "Third Project", 6: "Fourth Project",
7: "5th one", 8: "6th one dude",
uhash: "7021a11332508b6e30d3b6d3e95180398228b0e4010fc3f05db81e80"}
我想把它拆分成:
{1: "test projekt", 4: "Second Project",
5: "Third Project", 6: "Fourth Project",
7: "5th one", 8: "6th one dude"}
和
{uhash: "7021a11332508b6e30d3b6d3e95180398228b0e4010fc3f05db81e80"}
如何在 js 中做到这一点?
【问题讨论】:
标签: javascript json