Skip to content

Conversation

Dhruv-Maradiya
Copy link
Contributor

Description

Fixes #1801 by adding toJson method in Pubspec class.

Changes

  • Added the toJson serializable to serialize object into map.
  • Added tests to validate functionality round-trip the shape of the source.
  • Updated CHANGELOG.md to document the changes.

Checklist

  • I’ve reviewed the contributor guide and followed the relevant guidelines.
  • Added tests to ensure the new feature works as intended.

@Dhruv-Maradiya Dhruv-Maradiya requested a review from kevmoo January 31, 2025 04:48
@Dhruv-Maradiya Dhruv-Maradiya changed the title Tojson pubspec parser Added the toJson method in Pubspec Feb 1, 2025
@mosuem mosuem requested a review from a team as a code owner April 17, 2025 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can toJson() functionality be included as well?
3 participants