Timeline for json string creation with c#
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 20, 2017 at 7:38 | history | edited | ASh | CC BY-SA 3.0 |
edited tags
|
| Dec 19, 2017 at 15:23 | vote | accept | kacalapy | ||
| Dec 19, 2017 at 14:25 | answer | added | Tommaso Belluzzo | timeline score: 4 | |
| Dec 19, 2017 at 14:23 | comment | added | Zohar Peled |
var postData = "{\"changeNumberForClone\":\"C03688051\", \"scheduledStartDate\":\"2017-12-24T11:24:48.91Z\", \"scheduledEndDate\": \"2017-12-25T11:24:48.91Z\"}";
|
|
| Dec 19, 2017 at 14:22 | comment | added | Andy G | (Your attempt to use double quotes is broken because you incorrectly switch to double single-quotes towards the end.) | |
| Dec 19, 2017 at 14:21 | comment | added | user47589 | Creating the JSON by hand like this is going be very error-prone, and it won't scale at all. Create and serialize a dictionary like Crowcoder suggested. | |
| Dec 19, 2017 at 14:19 | comment | added | Crowcoder | You would be better off using a Dictionary or custom type, then serializing to json. | |
| Dec 19, 2017 at 14:17 | history | asked | kacalapy | CC BY-SA 3.0 |