• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ruby-grape / grape / 39247250281 / 19
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 19 Oct 2026 11:48AM UTC
Files 174
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Oct 2026 11:47AM UTC coverage: 98.823% (+0.007%) from 98.816%
39247250281.19

push

github

web-flow
Add a built-in :jsonl (JSON Lines) format (#3029)

`format :jsonl` serves JSON Lines: an Array renders one line per element
and any other object one line, each as the JSON formatter renders it; a
String is served as it is. An Enumerator body is streamed, each element
rendered only as the server reads the body, so a large export never sits
in memory whole. A formatter now signals that by handing back a
Grape::ServeStream::StreamResponse, which the formatter middleware serves
the way it serves `stream`.

A JSON Lines request body parses into an Array of its lines' values,
skipping blank lines, and stays in env['api.request.body'] like a JSON
Array body. Errors render as one JSON line.

:jsonl is kept out of ContentTypes::DEFAULTS, which every API that
declares no content type negotiates. An API declares it like any other
format, `content_type :jsonl, 'application/jsonl'` (or
application/x-ndjson), before `format :jsonl`.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

1489 of 1513 branches covered (98.41%)

Branch coverage included in aggregate %.

4470 of 4517 relevant lines covered (98.96%)

1248.53 hits per line

Source Files on job run-3.3-gemfiles/rails_8_0.gemfile - 39247250281.19
  • Tree
  • List 174
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 39247250281
  • ae39fbb8 on github
  • Prev Job for on master (#39247147655.14)
  • Next Job for on master (#39254521002.27)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc