# JSON View

## JSON View - Tokens Page

Token Sets are where our Design Tokens *live* in the Tokens Studio Plugin.

In code, [Tokens live in JSON files](https://tr.designtokens.org/format/#file-format), so you can think of a Token Set as the no-code version of a JSON file.

<figure><img src="https://3704321769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fds8Db2rgs9JSaG6grP0o%2Fuploads%2FZtgP0mBIBjrIVy43uHfe%2Finfographic-tokenSet-JSON%402x.png?alt=media&#x26;token=08f564a8-5490-4707-9701-6bd96e9007a5" alt=""><figcaption><p>In Tokens Studio, a Token Set is the no-code version of a JSON file.</p></figcaption></figure>

However if you are comfortable working in a code editor, the Plugin has a JSON view!

{% hint style="info" %}
If you are familiar with [VS Code](https://code.visualstudio.com/), you'll feel right at home in the JSON view, as the keyboard shortcuts and actions are the same.
{% endhint %}

### Access the JSON view

The actions at the top of the Tokens Page control how the Plugin displays the Tokens Sets and Design Tokens below.

Once you select a Token Set from the left-side menu, the Design Tokens living in that JSON file are displayed on the right.

* The current Token Set selected will have the container previewing its name highlighted in blue.
* Select the Token View toggle above the Tokens list on the right side to switch between the JSON and List view

<figure><img src="https://3704321769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fds8Db2rgs9JSaG6grP0o%2Fuploads%2FaqIDSUJXROoJdcS6B44I%2Ftoken-view-list-jscon-V2-1.png?alt=media&#x26;token=ca2f705b-1d48-4044-87c9-4afd6e47ee75" alt=""><figcaption><p>Select the Toggle on the top right side of the Tokens Page in the Plugin to access the JSON view.</p></figcaption></figure>

Once the JSON view is open, you can apply Token data to your Figma design assets in the same way you can from the Token List View. However, you can not apply a new individual Token from the JSON view.&#x20;

→ [Learn more about the Apply Tokens Actions and Settings.](https://docs.tokens.studio/manage-tokens/apply-token-data)

You can use the collapse Token Set toggle on the left side of the search input to hide the Token Set list in the left panel temporarily so you have more space to view your code files.&#x20;

{% hint style="info" %}
Any changes you make to Tokens in JSON view need to be saved using the action at the bottom of the plugin before toggling back to List view.&#x20;
{% endhint %}

<figure><img src="https://3704321769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fds8Db2rgs9JSaG6grP0o%2Fuploads%2Fip0jcBHdS4A1SJeUch7N%2FtokensPage-JSONview-V2-2..png?alt=media&#x26;token=0536e0f3-2247-45e9-b184-00ce27ed9a40" alt=""><figcaption><p>The find and replace feature in the JSON view can be used to make bulk changes.</p></figcaption></figure>

### Pro Tips for JSON View&#x20;

Coming Soon!

***

### Resources

Mentioned in this doc:

* Design Tokens Community Group -[ 4.0 File Format](https://tr.designtokens.org/format/#file-format)

#### Community resources:

* None yet!

💡 Something to share? [Submit it here!](https://feedback.tokens.studio/)

#### Known issues and bugs

* Tokens Studio Plugin GitHub - [Open issues for JSON View](https://github.com/tokens-studio/figma-plugin/labels/json%20editor)

🐞  If you are experiencing an issue not listed here, please reach out to us on the Troubleshooting channel of our [community Slack](https://tokens.studio/slack), [submit it on our feedback tool](https://feedback.tokens.studio/), or send us an email <support@tokens.studio>

#### Requests, roadmap and changelog

* None Yet

💌  Visit [https://feedback.tokens.studio/ ](https://feedback.tokens.studio/)to contribute or subscribe to updates.

<div data-full-width="true"><figure><img src="https://3704321769-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fds8Db2rgs9JSaG6grP0o%2Fuploads%2FZFWyIDJ8TTgum6566W4X%2Fspacer-image.png?alt=media&#x26;token=ca910cc6-4dd1-4019-940b-c67bbb539bd4" alt=""><figcaption></figcaption></figure></div>
