|
|
| version 1.7, 2015/09/22 22:41:53 | version 1.10, 2024/10/02 23:04:05 |
|---|---|
| Line 98 $h[ | Line 98 $h[ |
| $.image[ | $.image[ |
| $.value[^image::create(100;100;0)] | $.value[^image::create(100;100;0)] |
| $._options[ | $._options[ |
| $.0[$.skip-unknown(true)] | |
| $.1[$.image[$handler]] | $.1[$.image[$handler]] |
| $.2[$.exception(true)] | $.2[$.exception(false)] |
| ] | ] |
| ] | ] |
| Line 142 $s[^h.foreach[k;v]{ | Line 141 $s[^h.foreach[k;v]{ |
| ^s.match["([acm]date)":"[^^"]+"][g]{"$match.1":"-value-"} | ^s.match["([acm]date)":"[^^"]+"][g]{"$match.1":"-value-"} |
| check large date timestamp: ^json:string[^date::create[9000-01-01]; $.date[unix-timestamp] ] | |
| @2string[value;options] | @2string[value;options] |
| $options[^hash::create[$options]] | $options[^hash::create[$options]] |
| Line 151 $bShouldBeException($options.exception) | Line 153 $bShouldBeException($options.exception) |
| $result[^json:string[$value;$options]^if($bShouldBeException){. FAILED. EXCEPTION SHOULD BE HERE}] | $result[^json:string[$value;$options]^if($bShouldBeException){. FAILED. EXCEPTION SHOULD BE HERE}] |
| }{ | }{ |
| $exception.handled(true) | $exception.handled(true) |
| $result["exception":"$exception.source, $exception.comment^if($bShouldBeException){. That's OK}"] | $result["exception":"$exception.source, ^taint[as-is;$exception.comment]^if($bShouldBeException){. That's OK}"] |
| } | } |