How to Use the Inventory JSON Formatter: Steps and a Worked Example
Inventory JSON Formatter: Validate and pretty-print a JSON value with two-space indentation. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The Inventory JSON Formatter tool is free, needs no account and runs in your browser.
What you need
- JSON input
Step by step
- Open the Inventory JSON Formatter tool.
- Fill in JSON input.
- Read the result, which updates as soon as the inputs change.
Worked example
the tool returns:
{
"sku": "BOLT-M8-50",
"onHand": 1260,
"reorderPoint": 768,
"leadTimeDays": 14,
"supplier": "Fastenco"
}
How it works
JSON.parse() followed by JSON.stringify(value, null, 2). Paste the JSON, run the formatter and check each field on its own line.
Things to keep in mind
Checks JSON syntax only. It does not check quantities against your system.
Related tools
If this is not quite what you need, try JSON Formatter, Agency JSON Formatter or Construction JSON Formatter.