Default-values on schemas with a $ref field are now stored within a new reference schema which links to the original reference schema. It contains the default value and keeps a strong reference (shared_ptr) to the original reference. Fixes #209
11 lines
170 B
JSON
11 lines
170 B
JSON
[
|
|
{
|
|
"name": "player",
|
|
"fg": "White"
|
|
},
|
|
{
|
|
"name": "enemy",
|
|
"fg": "Red"
|
|
}
|
|
]
|