← 输入框|github.com|刷新
Skip to content

Eight services return jsonb as a string in the POST body and nested JSON scenarios #9

Backlog

Description

@vbilopav

In the November 2026 round (branch 202611241439) these services return jsonb columns as a JSON string instead of nested JSON:

  • post and nested: Go, Gin, Django, FastAPI, Swoole, Laravel Octane
  • post only: Bun, Deno

Example from Go: [{"row_num":1,"echo":"{\\"key\\": \\"value\\"}","computed":"row_1"}]

Why it matters. Requests do not fail and throughput is measured correctly, but these services do less work than the ones that write nested JSON, and a client has to parse the value twice. The k6 content checks "response echoes payload" and "response has nested structure" fail at 0% for them (checksPassed in results_extended.csv). The same was true in July 2026; nothing recorded the check rate then.

What would fix it. Each of these services should return the column as JSON (in Go: scan into json.RawMessage; in Python: let the driver decode json, or decode it; in PHP: json_decode the column; in Bun/Deno: pass the payload as a JSON value, not as a string).

Where. The handlers are linked per service from the round's write-up, and the scripts are post-body.js and nested-json.js.

It was left unchanged in November to stay comparable with July. Pull requests welcome; the next round runs whatever is in the repository.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions