Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More consistent spelling and punctuation for JSON types #149

Merged
merged 1 commit into from
Nov 25, 2022

Conversation

tschaub
Copy link
Collaborator

@tschaub tschaub commented Nov 22, 2022

This change makes more consistent use of the JSON types "object" (instead of JSON object or Map) and "number" (instead of double). Where we discuss string literals in the JSON metadata, they are double quoted and formatted as code (e.g. "like this").

Fixes #128.

Copy link
Collaborator

@m-mohr m-mohr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a big fan of quotes around the strings in documentation, but otherwise looks good to me.

@kylebarron
Copy link
Collaborator

I'm not a big fan of quotes around the strings in documentation, but otherwise looks good to me.

I don't have a strong preference, but I think quotes around strings can help to clarify when you're referring to a literal string value instead of an object key, for example

@tschaub
Copy link
Collaborator Author

tschaub commented Nov 22, 2022

I don't have a strong preference, but I think quotes around strings can help to clarify when you're referring to a literal string value instead of an object key, for example

Yeah. Or 2021 vs "2021" or whatever. Perhaps we won't need to disambiguate. I'm also not attached to the quotes if others also don't like them.

@tschaub tschaub merged commit 0cc824b into opengeospatial:main Nov 25, 2022
@tschaub tschaub deleted the json-types branch November 25, 2022 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

crs data type: JSON object
4 participants