JSFiddle - React, Tailwind, and code Playground
by fiddleyetu
JavaScript
var A = {
"OrderA": [{
"orderId": "19",
"serverId": 129,
"description": "Apple",
"status": "1",
"details": ""
}]
};
console.log( 'A: ', JSON.stringify(A) );
var THREE = {
"OrderA": [{
"orderId": "19",
"serverId": 129,
"description": "Apple",
"status": "1",
"details": ""
}],
"OrderA": [{
"orderId": "19",
"serverId": 129,
"description": "Apple",
"status": "1",
"details": ""
}],
"OrderA": [{
"orderId": "19",
"serverId": 129,
"description": "Apple",
"status": "1",
"details": ""
}]
};
console.log( 'THREE: ', JSON.stringify(THREE) );
var good = {
"OrderA": [{
"orderId": "19",
"serverId": 129,
"description": "Apple",
"status": "1",
"details": ""
}],
"OrderB": [{
"orderId": "19",
"serverId": 129,
"description": "Apple",
"status": "1",
"details": ""
}],
"OrderC": [{
"orderId": "19",
"serverId": 129,
"description": "Apple",
"status": "1",
"details": ""
}]
};
console.log( 'good: ', JSON.stringify(good) );