D is more proper.
Although A, C, D are all valid JSON, but we should always refer to the existing way ServiceNow supported. In the Now Learning it is stated:
- Supported JSON format "{"MEMORY";"70"}"
A, C, and D are all valid JSON (A is also valid because integers do not necessarily have to be in quotes).
However, note that at this time, ServiceNow only accepts up to ES5 JSON (not ES6 yet), and while there are still three correct answers, C is the most correct, because most examples on the SN doc sites display concatenated k/v pairs more often than not. Examples here:
https://docs.servicenow.com/bundle/utah-integrate-applications/page/administer/import-sets/reference/json-data-source-examples.html
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
wkwkhk
5 months, 4 weeks agomoSplat
9 months agoMrBravo
9 months, 3 weeks agoMrBravo
9 months, 3 weeks agoKondorZw
1 year, 1 month ago