I'm using a service which uses incorrect JSON format (no double quotes around properties). So I need to send
{ name: "John Smith" }
instead of { "name": "John Smith" }
This format cannot be changed as this is not my service.
Anyone know of a stringify routing to format an JavaScript object like above?
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…