如何使用normalizr标准化json数据
{
order: {
id: 10,
line_items: [
{
id: 483,
quantity: 2,
product: {
id: 924,
name: "Carrots",
price: "1.50"
}
}
]
},
products: [
{
id: 924,
name: "Carrots",
price: "1.50"
},
{
id: 9274,
name: "Car",
price: "1.50"
}
]
};