Skip to content

Serialize Peregrin::Book to JSON - #17

Open
julien-c wants to merge 1 commit into
joseph:masterfrom
julien-c:master
Open

Serialize Peregrin::Book to JSON#17
julien-c wants to merge 1 commit into
joseph:masterfrom
julien-c:master

Conversation

@julien-c

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

Copy link
Copy Markdown

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

@joseph

joseph commented Feb 20, 2013

Copy link
Copy Markdown
Owner

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
Copy Markdown
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