Skip to content

JSON key formatting (camelCase vs snake_case) #21

Open

Description

@ostranme

I've seen APIs that support camelCase and others that support snake_case for JSON keys. This standard describes everything in camelCase. I was curious if this would cause any issues with the "version" for APIs that implement snake_case JSON keys.

Questions:

  • Does the case type of the JSON keys matter for this standard?
  • If the answer to the first questions is no, should there additional information in the doc that says case type doesn't matter even though all examples are camelCase?

I don't want to create a "spaces vs tabs" conversation but it would be helpful to see other opinions of this and how it can be applied to both cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions