JSON Importer

DataLoom Pro parses JSON documents directly, letting you import hierarchical tables or arrays into ScriptableObjects.


Mappings Formats

You can import JSON files in two structures:

1. JSON Array of Objects

A flat list of rows, identical to a CSV structure:

[
  { "id": "potion_01", "name": "Health Potion", "healAmount": 50 },
  { "id": "potion_02", "name": "Mana Potion", "healAmount": 30 }
]

2. Hierarchical Keyed Map

A dictionary mapping key values to object properties:

{
  "potion_01": { "name": "Health Potion", "healAmount": 50 },
  "potion_02": { "name": "Mana Potion", "healAmount": 30 }
}

If using a Keyed Map, DataLoom automatically resolves the keys as your unique ID identifier, generating potion_01.asset and potion_02.asset accordingly.


This site uses Just the Docs, a documentation theme for Jekyll.