true is allowed in json. Is there a reason to use "true" instead of true?
Request:
https://demo.buddycloud.org/api/notification_settings?type=email
Response:
[
{
target: "asdf@asdf.com",
postAfterMe: "true",
postMentionedMe: "true",
postOnMyChannel: "true",
postOnSubscribedChannel: "false",
followMyChannel: "true",
followRequest: "true"
}
]
true is allowed in json. Is there a reason to use "true" instead of true?
Request:
https://demo.buddycloud.org/api/notification_settings?type=email
Response:
[ { target: "asdf@asdf.com", postAfterMe: "true", postMentionedMe: "true", postOnMyChannel: "true", postOnSubscribedChannel: "false", followMyChannel: "true", followRequest: "true" } ]