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

Standard library: JSON #4653

Closed
robin-aws opened this issue Oct 11, 2023 · 2 comments
Closed

Standard library: JSON #4653

robin-aws opened this issue Oct 11, 2023 · 2 comments
Assignees
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny part: standard libraries Standard libraries packaged in the Dafny distribution

Comments

@robin-aws
Copy link
Member

robin-aws commented Oct 11, 2023

JSON serialization and deserialization.

Existing source:

dafny-lang/libraries/src/JSON

Note the existing implementation has a fair bit of more generic code that should be moved to other libraries. For example, JSON/Utils/Str.dfy has a bunch of code for converting between numbers and their string representation, which could be its own small library.

Depends on #4746
Depends on #4648
Depends on #4650

@robin-aws robin-aws added this to the Dafny Standard Libraries milestone Oct 11, 2023
@robin-aws robin-aws added part: standard libraries Standard libraries packaged in the Dafny distribution kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny labels Oct 11, 2023
@stefan-aws stefan-aws self-assigned this Oct 31, 2023
@robin-aws
Copy link
Member Author

robin-aws commented Nov 7, 2023

Update: we should definitely pull out these parts into their own libraries:

@robin-aws
Copy link
Member Author

Completed by #4754

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Enhancements, feature requests, etc. These are NOT bugs, but ways we can improve Dafny part: standard libraries Standard libraries packaged in the Dafny distribution
Projects
None yet
Development

No branches or pull requests

2 participants