Skip to content

true vs. "true" #300

Description

@robotnic

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"
}
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions