Viewing and editing JSON
  • 31 Jan 2023
  • 1 Minute to read
  • Dark
    Light

Viewing and editing JSON

  • Dark
    Light

Article Summary

Editing tokens in JSON is helpful when you need to:

  • Add tokens in bulk. You can quickly do so by copying and pasting a set of tokens from an existing .json file.
  • Add token attributes. You can add any type of metadata to tokens in the JSON editor. Viewers can then access the attributes by selecting the table and clicking View in JSON. In the future, you’ll be able to add custom columns to surface custom attributes in the table view.
  • Change token names in bulk. For example, if “core” changes to “global”, you can change the “core” node in JSON to “global” (instead of individually editing multiple tokens).

DSM will not propagate token name changes nor convert deleted token references to values as it does in table editing mode. The editor will need to ensure the validity of the tokens structure.

To edit tokens in JSON mode:


Was this article helpful?