File:  [parser3project] / parser3 / tests / 418.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon Aug 22 20:10:42 2022 UTC (3 years, 9 months ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, HEAD
test for ^hash_a.intersection[hash_b; $.order[self|arg] ] added (related to #1225)

$h_a[
    $.a[1]
    $.b[2]
    $.c[3]
]
$h_b[
    $.c[]
    $.a[]
]

1. ^json:string[^h_a.intersection[$h_b]]
2. ^json:string[^h_a.intersection[$h_b; $.order[arg] ]]
3. ^json:string[^h_a.intersection[$h_b; $.order[self] ]]

E-mail: