> ## Documentation Index
> Fetch the complete documentation index at: https://docs.less.tech/llms.txt
> Use this file to discover all available pages before exploring further.

# Parse Object

> Parse Objects columns

The Parse Object tool is used exclusively to parse Object columns and is almost always used just after an [API](/tools/utilities/api) tool (and a [Columns](/tools/basics/columns) tool that turns the API response into an Object column).

<Warning>
  Parsing objects can be tricky. It requires that you have more or less than same
  structure throughout your column - which can be hard to spot with a lot
  of data. Reach out to us if you'd like us to support.
</Warning>

The Parse Object tool transforms the below:

```json theme={null}
{ "name": "John", "age": 30, "car": null }
```

To columns like this:

<Frame caption="A simple example of parsing the object above in Less">
  <img className="rounded-md" src="https://mintcdn.com/less-51/qnh8gNMWMbLC5eFp/images/tools/parse-object/DataIllustration.png?fit=max&auto=format&n=qnh8gNMWMbLC5eFp&q=85&s=680c79ace14898878ec48602e589867a" width="585" height="216" data-path="images/tools/parse-object/DataIllustration.png" />
</Frame>

Whenever you see this data type you can be certain you need to use the Parse Object tool.

<Frame caption="The Object data type">
  <img className="rounded-md" src="https://mintcdn.com/less-51/qnh8gNMWMbLC5eFp/images/tools/parse-object/DataType.png?fit=max&auto=format&n=qnh8gNMWMbLC5eFp&q=85&s=33c5dcebff4720277e2f1a31fb62beed" width="892" height="664" data-path="images/tools/parse-object/DataType.png" />
</Frame>

However, object-like data can also be in simple text columns. Use a [Columns](/tools/basics/columns) tool to turn the text column into an Object column.

<Frame caption="Object-like data in a string/text column">
  <img className="rounded-md" src="https://mintcdn.com/less-51/qnh8gNMWMbLC5eFp/images/tools/parse-object/String.png?fit=max&auto=format&n=qnh8gNMWMbLC5eFp&q=85&s=6dec821fad6d89b68f1db244e8e5898f" width="1298" height="646" data-path="images/tools/parse-object/String.png" />
</Frame>

### Configuration

<Steps>
  <Step title="Select Object Column" step={1} titleSize="p">
    The Parse Object tool is very simple. All you have to do is select the Object column you want to parse.
  </Step>
</Steps>

### Examples

In this example, we have an Object column with the following data that contains name, age, city, address (which itself is an Object column with street and zip), gender and contact (which also is an Object column). We want to parse it into a new columns with the following data: name, age, city, street, zip, and country.

<Frame>
  <img className="rounded-md" src="https://mintcdn.com/less-51/qnh8gNMWMbLC5eFp/images/tools/parse-object/Example.png?fit=max&auto=format&n=qnh8gNMWMbLC5eFp&q=85&s=7bd110aaafd4ead8467448ed3eeadc4c" width="3968" height="2696" data-path="images/tools/parse-object/Example.png" />
</Frame>

Notice that our original Object column is kept in the dataset. We can add additional Parse Object tools to parse the address and contact columns.
