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

Added appending to data file instead as a strecht goal #21

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

Conversation

simbs
Copy link

@simbs simbs commented Jul 2, 2016

During the workshop I changed the code to be able to only append a new post to the data file instead of reading all of it, parsing, adding to the string and rewriting everything. However, the way I've done it means posts.json is no longer a true JSON file, so I don't think this version should replace the original method which allows to explain what JSON is.

I haven't added my solution to it, let me know if you think I should include it (and where!).

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.

None yet

1 participant