File:  [parser3project] / parser3 / tests / 255.html
Revision 1.3: download - view: text, annotated - select for diffs - revision graph
Tue Sep 10 19:32:10 2024 UTC (20 months, 2 weeks ago) by moko
Branches: MAIN
CVS tags: release_3_5_1, release_3_5_0, HEAD
tests updated after sparse-array was added to avoid ^json:parse[] using it in old tests (related to feature #930)

@main[]

^windows-1251[]

$f[^file::load[text;253_json.txt]]
$s[^taint[as-is][$f.text]]

$o[^json:parse[$s][ $.array[hash] $.distinct[all] ]]
Результат: $o.array.0

^print[^json:string[$o; $.indent(1)]]

@print[s]
$result[^s.replace[e+0;e+]]

E-mail: