1 points | by seph-reed 8 hours ago ago
1 comments
This works with Ruby heredoc:
$ irb query = <<-json { "s": "a string with newlines" } json => "{ \"s\": \"a string with\nnewlines\"\n}\n"
This works with Ruby heredoc: