๐Ÿ”ดConditions

JSON is empty

patterns

json[element] %jsonelement% is empty 
json[element] %jsonelement% is(n't| not) empty 
on script load:
    set {-e} to new json from string "{'Hello': 'There'"}
    json {-e} is empty: 
        broadcast "is empty"

JSON File exists

patterns

json file %object% does exist
json file %object% does( not|n't) exist
on load:
    json file "test\test.json" exist:
        broadcast true

Type of JSON

patterns

JSON has/hasn't key

patterns

Last updated

Was this helpful?