mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Support implicit values in JSON models (#154)
* Support implicit values in JSON models * Update Changelog
This commit is contained in:
parent
83a0ae673c
commit
f290e7b5b2
8 changed files with 131 additions and 11 deletions
10
test-projects/json_model/src/children.model.json
Normal file
10
test-projects/json_model/src/children.model.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"Name": "children",
|
||||
"ClassName": "Folder",
|
||||
"Children": [
|
||||
{
|
||||
"Name": "The Child",
|
||||
"ClassName": "StringValue"
|
||||
}
|
||||
]
|
||||
}
|
||||
11
test-projects/json_model/src/explicit.model.json
Normal file
11
test-projects/json_model/src/explicit.model.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"Name": "explicit",
|
||||
"ClassName": "StringValue",
|
||||
"Properties": {
|
||||
"Value": {
|
||||
"Type": "String",
|
||||
"Value": "Hello, world!"
|
||||
}
|
||||
},
|
||||
"Children": []
|
||||
}
|
||||
7
test-projects/json_model/src/implicit.model.json
Normal file
7
test-projects/json_model/src/implicit.model.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"Name": "implicit",
|
||||
"ClassName": "StringValue",
|
||||
"Properties": {
|
||||
"Value": "What's happenin', Earth?"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue