1. Convert a server startup record to JSON
Site reliability engineerBackground
An engineer has a logfmt startup entry with a quoted message, a port number, and a timestamp.
Problem
The record needs to be represented as structured JSON with the port stored as a number.
How to use
Paste the logfmt entry into Input, select logfmt → JSON, and keep number and boolean coercion enabled.
Direction: logfmt → JSON; Coerce Numbers: enabled; Coerce Booleans: enabled; Indent JSON: 2 spaces.Outcome
The message remains a string, the port becomes a JSON number, and the timestamp remains a string.