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

Add fromJson and toJson #109

Merged

Conversation

sigma-andex
Copy link
Contributor

Description of the change
Add fromJson and toJson methods to simplify deserialising/serialising.

Checklist:

  • Added the change to the changelog's "Unreleased" section with a link to this PR and your username
  • Linked any existing issues or proposals that this pull request should close
  • Updated or added relevant documentation in the README and/or documentation directory
  • Added a test for the contribution (if applicable)

@sigma-andex sigma-andex changed the title Add parse and decode Add fromJson and toJson Jun 13, 2022
@sigma-andex
Copy link
Contributor Author

🏓 @thomashoneyman

@sigma-andex
Copy link
Contributor Author

🐧 @thomashoneyman

@thomashoneyman
Copy link
Contributor

What do you think of naming these “toJsonString” and “fromJsonString” given they aren’t going to and from the Json type?

@thomashoneyman
Copy link
Contributor

Also, could you add this change to the changelog?

@thomashoneyman thomashoneyman merged commit 88086c6 into purescript-contrib:main Jun 23, 2022
@sigma-andex sigma-andex deleted the add-parse-and-decode branch June 23, 2022 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants