JSON-动态引用另一个值

时间:2020-08-09 03:27:21

标签: json object key ref stringify

"Rules": [{
            "Property": "Text",
            "Category": "Data",
            "InvariantScript": "Self.X", // How do I populate this with the value of the Fills InvariantScript?
            "RuleProviderType": "Unknown"
        },{
            "Property": "Fill",
            "Category": "Design",
            "InvariantScript": "RGBA(0, 91, 102, 1)",
            "RuleProviderType": "Unknown"
        }

**替换 Self.X ,使其成为显示Fill属性中RGBA值的字符串。 这里有$ ref选项吗?

0 个答案:

没有答案