Skip to content
Snippets Groups Projects

indent and highlight JSON campaign specs

Merged Warren Gifford requested to merge campaigns/show-json-campaign-spec into main

Created by: sqs

A campaign spec is a YAML document. YAML is a superset of JSON. If a campaign spec is pure-JSON, then it's nice to indent it (in case it's all on one line, for example) and highlight it using the JSON highlighter.

The button is still "Download YAML" and the filename is still "whatever.yaml", but that's OK because YAML is a superset of JSON, so those are correct.

Merge request reports

Approval is optional

Merged by avatar (Jul 13, 2025 4:36am UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading