Show HN: Derulo, a tool for manipulating JSON files
1–10 of 23 posts
Re: Show HN: Derulo, a tool for manipulating JSON files
#2oh no you didn't..
Re: Show HN: Derulo, a tool for manipulating JSON files
#3oh no you didn't..
He did, and I like it.
Re: Show HN: Derulo, a tool for manipulating JSON files
#4This is the funnest thing I've seen in weeks in regards to tech. Nice job. And looks like a nice tool too.
Re: Show HN: Derulo, a tool for manipulating JSON files
#5I'm not a developer - but this is funny.
Re: Show HN: Derulo, a tool for manipulating JSON files
#6[deleted]
Re: Show HN: Derulo, a tool for manipulating JSON files
#7This is the funnest thing I've seen in weeks in regards to tech. Nice job. And looks like a nice tool too.
Why is everyone saying this is funny? I don't get it.
Re: Show HN: Derulo, a tool for manipulating JSON files
#8How are you supposed to exit the REPL? I end up with empty braces in the file.
~ ❯❯❯ derulo hello
Entering Derulo interactive JSON builder.
prompt: key: foo
prompt: value: bar
prompt: key: %
~ ❯❯❯ cat hello.json
{}%Re: Show HN: Derulo, a tool for manipulating JSON files
#9This is the funnest thing I've seen in weeks in regards to tech. Nice job. And looks like a nice tool too.
Why is everyone saying this is funny? I don't get it.
Jason Derulo is a successful pop musician right now. http://en.wikipedia.org/wiki/Jason_Derulo
The wordplay is Jason -> JSON.
Re: Show HN: Derulo, a tool for manipulating JSON files
#10How are you supposed to exit the REPL? I end up with empty braces in the file. ~ ❯❯❯ derulo hello Entering Derulo interactive JSON builder. prompt: key: foo prompt: value: bar prompt: key: % ~ ❯❯❯ cat hello.json {}%
Yeah, as a quick hack I made it so typing 'end' for a key or value exits it. This is obviously a valid key or value though, so something else is needed.
Maybe some control sequence would work? Not sure how you handle those in Node.