Can toJson() functionality be included as well? #17
Labels
good first issue
A good starting issue for contributors (issues with this label will appear in /contribute)
type-enhancement
A request for a change that isn't a bug
It's fantastic to have an official package on Pub for parsing and extracting data from a pubspec.
There is, however, one thing, I'm wondering - would it be bad for
createToJson
to betrue
for the models contained in this package?I'm working on updating the Angel CLI, which uses the old
package:pubspec
to persist changes to the project files (namely, adding dependencies the user is missing), topubspec_parse
, and if there were some way to just get atoJson
method on thePubSpec
.I'll gladly send a PR, but is there is a specific reason this functionality isn't present already? I imagine there's probably a reason I didn't think about.
The text was updated successfully, but these errors were encountered: