How to Use the JSON Object Keys Extractor: Steps and a Worked Example
Extract top-level keys from a JSON object. This guide shows what to enter, a worked example, and the limits to keep in mind. The JSON Object Keys Extractor tool is free, needs no account and runs in your browser.
What you need
- JSON input, for example {"name":"InovoTools","active":true}
Step by step
- Open the JSON Object Keys Extractor tool.
- Fill in JSON input.
- Read the result, which updates as soon as the inputs change.
Worked example
With these inputs:
- JSON input: {"name":"InovoTools","active":true}
the tool returns:
name
active
How it works
The calculation is: Parse JSON and return Object.keys. Enter the JSON input and the result appears straight away. Everything runs in your browser, so nothing you type is uploaded.
Things to keep in mind
Check your inputs, units and assumptions before you rely on the result.
Related tools
If this is not quite what you need, try JSON Sort Keys, JSON Value Extractor or JSON Formatter.