1 pointby seph-reed4 hours ago1 comment
  • turtleyachtan hour ago
    This works with Ruby heredoc:

      $ irb
      query = <<-json
      { "s": "a string with
      newlines"
      }
      json
      => "{ \"s\": \"a string with\nnewlines\"\n}\n"