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

D.JS serializer #91

Open
5 of 9 tasks
sergey-shandar opened this issue Jan 31, 2024 · 0 comments
Open
5 of 9 tasks

D.JS serializer #91

sergey-shandar opened this issue Jan 31, 2024 · 0 comments
Assignees

Comments

@sergey-shandar
Copy link
Contributor

sergey-shandar commented Jan 31, 2024

  • to JSON. PR To JSON #102
  • to JSON5 ???
  • to D.JS
    • D.MJS (ESM)
    • D.CJS (CommonJS)
  • dedup option for serializer #99
  • refactor to_json.rs: most of it goes to write_js_utilities.rs, what remains in WriteJson is write_json.
  • refactor to_djs.rs: WriteDjs should not require WriteJson but should use fn-s from write_js_utilities.rs.
  • deduplicate code in to_djs using automatic captures in lambdas.
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

No branches or pull requests

2 participants