-
Notifications
You must be signed in to change notification settings - Fork 225
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
Describe JSON conversion and clean up formatting. #92
Conversation
doc/langdef.md
Outdated
|
||
CEL Data | JSON Data | ||
---------------------------------------------------- | --------- | ||
`int` | Number if in interoperable range, otherwise decimal String. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's mention that the interoperable range is -(2^53 - 1) to 2^53 - 1.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
doc/langdef.md
Outdated
double NaN | String "NaN" | ||
`bytes` | String of base64-encoded bytes | ||
message | JSON conversion of protobuf message. | ||
`list` with non-convertible elements | none |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth mentioning the lists and maps with convertible elements?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. I've updated the list/map descriptions here and in the table above to distinguish bi-convertible, convertible, and non-convertible values.
doc/langdef.md
Outdated
|
||
### List of Standard Definitions | ||
|
||
TODO https://issuetracker.google.com/67014381 : have better descriptions. The |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This issue has been archived, but there is one currently open within the cel-go repository to create a better docgen tool.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the TODO.
PTAL |
Closes #73 |
No description provided.