aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/jsonArrayToStringList.qml
blob: 38b880207efc05ff88bb57b251aa9102cd408898 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import QtQml

ListProvider {
    json: [1, "aa", 2, null, undefined]
    strings: json
    stringStrings: json
    property list<string> strings2: json

    Component.onCompleted: {
        console.log("json", json)
        console.log("strings", strings)
        console.log("strings2", strings2)
    }
}