Fixture cleanup
A formatted JSON payload needs to be collapsed into a compact string for an environment variable.
Inputs
- JSON input: { "id": 8472, "status": "paid" }
Steps
- Parse JSON
- Serialize without indentation
Result
- The output becomes a compact single-line JSON string.