mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-25 23:26:19 +00:00
Update Sync Details docs
This commit is contained in:
@@ -33,7 +33,7 @@ Rojo JSON models are stored in `.model.json` files.
|
|||||||
!!! info
|
!!! info
|
||||||
In the future, Rojo will support `.rbxmx` models. See [issue #7](https://github.com/LPGhatguy/rojo/issues/7) for more details and updates on this feature.
|
In the future, Rojo will support `.rbxmx` models. See [issue #7](https://github.com/LPGhatguy/rojo/issues/7) for more details and updates on this feature.
|
||||||
|
|
||||||
JSON model files are strict, with every property being required. They look like this:
|
JSON model files are fairly strict; any syntax errors will cause the model to fail to sync! They look like this:
|
||||||
|
|
||||||
`hello.model.json`
|
`hello.model.json`
|
||||||
```json
|
```json
|
||||||
@@ -43,14 +43,11 @@ JSON model files are strict, with every property being required. They look like
|
|||||||
"Children": [
|
"Children": [
|
||||||
{
|
{
|
||||||
"Name": "Some Part",
|
"Name": "Some Part",
|
||||||
"ClassName": "Part",
|
"ClassName": "Part"
|
||||||
"Children": [],
|
|
||||||
"Properties": {}
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"Name": "Some StringValue",
|
"Name": "Some StringValue",
|
||||||
"ClassName": "StringValue",
|
"ClassName": "StringValue",
|
||||||
"Children": [],
|
|
||||||
"Properties": {
|
"Properties": {
|
||||||
"Value": {
|
"Value": {
|
||||||
"Type": "String",
|
"Type": "String",
|
||||||
@@ -58,7 +55,6 @@ JSON model files are strict, with every property being required. They look like
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"Properties": {}
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user