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

Serialize Peregrin::Book to JSON #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

julien-c
Copy link

@julien-c julien-c commented Feb 5, 2013

This is the first lines I've ever written in ruby, so please bear with me!

@joseph
Copy link
Owner

joseph commented Feb 20, 2013

I like the idea. The one hesitation I have is that Peregrin currently has very simplistic dependencies, and these are needed for its core functionality. I have a preference for gems with few dependencies.

This is useful additional functionality, but not core functionality. Therefore, I wonder if we could make the dependency on the JSON gem optional? I'll sketch out an idea in a code comment — I'm interested in your feedback. If it makes what you want to do more difficult, I'm happy to entertain making JSON a core dependency.

@julien-c
Copy link
Author

@joseph Looks perfect, and much more ruby-idiomatic than what I wrote.

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

Successfully merging this pull request may close these issues.

2 participants