tx · GTL2xHDPwwJYgNaiNU1p2mozUSJ5otV5cD8UYDAeE5MD 3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7: -0.01500000 Waves 2023.03.19 14:34 [2496841] smart account 3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7 > SELF 0.00000000 Waves
{ "type": 13, "id": "GTL2xHDPwwJYgNaiNU1p2mozUSJ5otV5cD8UYDAeE5MD", "fee": 1500000, "feeAssetId": null, "timestamp": 1679225707581, "version": 2, "chainId": 84, "sender": "3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7", "senderPublicKey": "CrHxACS7bWTh8cgmgqstvybmgMqR9KtDryGFt5svZhBW", "proofs": [ "A1tcbB8obg4L4ieiXVb7nHneMhFCZEwzCQeK79pqKWjcEoh9SYuPT6zG99zRzFsWks5eKZmM3GRy6y1EpNKMMxi" ], "script": "base64:BgIkCAISBwoFGBgBAQgSBAoCGBgSBQoDCBgYEgQKAggIEgQKAggIGAAIa0pzb25SZXMCB2pzb25SZXMABXF1b3RlCQCwCQEBASIBCW1ha2VGaWVsZAEJbmV4dFZhbHVlAwcJAKwCAgkArAICCQCsAgIJAKwCAgkArAICBQVxdW90ZQgFCW5leHRWYWx1ZQJfMQUFcXVvdGUCAToIBQluZXh0VmFsdWUCXzICASwJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgUFcXVvdGUIBQluZXh0VmFsdWUCXzEFBXF1b3RlAgE6BQVxdW90ZQgFCW5leHRWYWx1ZQJfMgUFcXVvdGUCASwBD3JlZHVjZXJNYWtlSlNPTgIFYWNjdW0JbmV4dFZhbHVlCQCsAgIFBWFjY3VtCQEJbWFrZUZpZWxkAQUJbmV4dFZhbHVlAQ9pdGVyYXRlTWFrZUpTT04DBnBhcmFtcwNyZXMGbGVuZ3RoAwkAAAIFBmxlbmd0aAAACQACAQINRW1wdHkgIHBhcmFtcwMJAAACBQZsZW5ndGgAAQoAAiRsBQZwYXJhbXMKAAIkc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gURZGVsZXRlZFZhbHVlQnlLZXkFB25ld0pzb24AQYqAnQ==", "height": 2496841, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: BLcVMsP9hQnpMEU4FEG4U8LA5kVtA4dtvPq3dLN9Hffd Next: 35EQnvvnJSHaLV9z2uNc4UgRNYjPwsR8o47Hid53sXvS Diff:
Old | New | Differences | |
---|---|---|---|
377 | 377 | let jsonList = split(jsonBody, ",") | |
378 | 378 | let jsonSize = size(jsonList) | |
379 | 379 | let deletedValue = if (contains(rowValue, "{")) | |
380 | - | then ( let $l = jsonList | |
381 | - | let $s = size($l) | |
382 | - | let $acc0 = $Tuple6("", 0, 0, 0, jsonSize, false) | |
383 | - | func $f0_1 ($a,$i) = if (($i >= $s)) | |
384 | - | then $a | |
385 | - | else reducerTakeObject($a, $l[$i]) | |
380 | + | then { | |
381 | + | let $t01055910693 = { | |
382 | + | let $l = jsonList | |
383 | + | let $s = size($l) | |
384 | + | let $acc0 = $Tuple7(key, 0, 0, 0, 0, 0, false) | |
385 | + | func $f0_1 ($a,$i) = if (($i >= $s)) | |
386 | + | then $a | |
387 | + | else reducerFindObjcetByKey($a, $l[$i]) | |
386 | 388 | ||
387 | - | func $f0_2 ($a,$i) = if (($i >= $s)) | |
388 | - | then $a | |
389 | - | else throw("List size exceeds 100") | |
389 | + | func $f0_2 ($a,$i) = if (($i >= $s)) | |
390 | + | then $a | |
391 | + | else throw("List size exceeds 100") | |
390 | 392 | ||
391 | - | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1 | |
393 | + | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
394 | + | } | |
395 | + | let _key = $t01055910693._1 | |
396 | + | let levelOn = $t01055910693._2 | |
397 | + | let currentLevelOn = $t01055910693._3 | |
398 | + | let _startIndex = $t01055910693._4 | |
399 | + | let _endIndex = $t01055910693._5 | |
400 | + | ( let $l = jsonList | |
401 | + | let $s = size($l) | |
402 | + | let $acc0 = $Tuple5("", 0, _startIndex, _endIndex, false) | |
403 | + | func $f1_1 ($a,$i) = if (($i >= $s)) | |
404 | + | then $a | |
405 | + | else reducerConcatList($a, $l[$i]) | |
406 | + | ||
407 | + | func $f1_2 ($a,$i) = if (($i >= $s)) | |
408 | + | then $a | |
409 | + | else throw("List size exceeds 100") | |
410 | + | ||
411 | + | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1 | |
412 | + | } | |
392 | 413 | else rowValue | |
393 | - | let debugValue = ( let $l = jsonList | |
394 | - | let $s = size($l) | |
395 | - | let $acc0 = $Tuple5("", 0, 1, 13, false) | |
396 | - | func $f0_1 ($a,$i) = if (($i >= $s)) | |
397 | - | then $a | |
398 | - | else reducerConcatList($a, $l[$i]) | |
399 | - | ||
400 | - | func $f0_2 ($a,$i) = if (($i >= $s)) | |
401 | - | then $a | |
402 | - | else throw("List size exceeds 100") | |
403 | - | ||
404 | - | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1 | |
405 | 414 | let newJson = if (((size(json) - endIndex) == 1)) | |
406 | 415 | then (take(json, (startIndex - 2)) + drop(json, endIndex)) | |
407 | 416 | else (take(json, (startIndex - 1)) + drop(json, (endIndex + 1))) | |
408 | - | $Tuple2( | |
417 | + | $Tuple2(deletedValue, newJson) | |
409 | 418 | } | |
410 | 419 | ||
411 | 420 | ||
412 | 421 | @Callable(i) | |
413 | 422 | func makeJSONInternal (arrKeys,arrValues,iterationsCount,lastIterationLen,res) = valueOrElse(onlyInternal(i.caller), if ((iterationsCount > 0)) | |
414 | 423 | then { | |
415 | - | let $ | |
416 | - | let currentArrPartKeys = $ | |
417 | - | let arrTailKeys = $ | |
418 | - | let $ | |
419 | - | let currentArrPartValues = $ | |
420 | - | let arrTailValues = $ | |
424 | + | let $t01185412019 = getPartAndTail(arrKeys) | |
425 | + | let currentArrPartKeys = $t01185412019._1 | |
426 | + | let arrTailKeys = $t01185412019._2 | |
427 | + | let $t01202812146 = getPartAndTail(arrValues) | |
428 | + | let currentArrPartValues = $t01202812146._1 | |
429 | + | let arrTailValues = $t01202812146._2 | |
421 | 430 | let params = prepareParams(currentArrPartKeys, currentArrPartValues, 10) | |
422 | 431 | let newString = iterateMakeJSON(params, res, 10) | |
423 | 432 | let result = invoke(this, "makeJSONInternal", [arrTailKeys, arrTailValues, (iterationsCount - 1), lastIterationLen, newString], nil) | |
475 | 484 | ||
476 | 485 | @Callable(i) | |
477 | 486 | func deleteByJSONKey (json,key) = { | |
478 | - | let $ | |
479 | - | let deletedValueByKey = $ | |
480 | - | let newJson = $ | |
487 | + | let $t01656216921 = deleteByKeyInternal(json, key) | |
488 | + | let deletedValueByKey = $t01656216921._1 | |
489 | + | let newJson = $t01656216921._2 | |
481 | 490 | $Tuple2([StringEntry("deletedValue", deletedValueByKey), StringEntry(kJsonRes, newJson)], $Tuple2(deletedValueByKey, newJson)) | |
482 | 491 | } | |
483 | 492 |
Old | New | Differences | |
---|---|---|---|
1 | 1 | {-# STDLIB_VERSION 6 #-} | |
2 | 2 | {-# SCRIPT_TYPE ACCOUNT #-} | |
3 | 3 | {-# CONTENT_TYPE DAPP #-} | |
4 | 4 | let kJsonRes = "jsonRes" | |
5 | 5 | ||
6 | 6 | let quote = toUtf8String(base58'b') | |
7 | 7 | ||
8 | 8 | func makeField (nextValue) = if (false) | |
9 | 9 | then (((((quote + nextValue._1) + quote) + ":") + nextValue._2) + ",") | |
10 | 10 | else (((((((quote + nextValue._1) + quote) + ":") + quote) + nextValue._2) + quote) + ",") | |
11 | 11 | ||
12 | 12 | ||
13 | 13 | func reducerMakeJSON (accum,nextValue) = (accum + makeField(nextValue)) | |
14 | 14 | ||
15 | 15 | ||
16 | 16 | func iterateMakeJSON (params,res,length) = if ((length == 0)) | |
17 | 17 | then throw("Empty params") | |
18 | 18 | else if ((length == 1)) | |
19 | 19 | then { | |
20 | 20 | let $l = params | |
21 | 21 | let $s = size($l) | |
22 | 22 | let $acc0 = res | |
23 | 23 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
24 | 24 | then $a | |
25 | 25 | else reducerMakeJSON($a, $l[$i]) | |
26 | 26 | ||
27 | 27 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
28 | 28 | then $a | |
29 | 29 | else throw("List size exceeds 1") | |
30 | 30 | ||
31 | 31 | $f0_2($f0_1($acc0, 0), 1) | |
32 | 32 | } | |
33 | 33 | else if ((length == 2)) | |
34 | 34 | then { | |
35 | 35 | let $l = params | |
36 | 36 | let $s = size($l) | |
37 | 37 | let $acc0 = res | |
38 | 38 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
39 | 39 | then $a | |
40 | 40 | else reducerMakeJSON($a, $l[$i]) | |
41 | 41 | ||
42 | 42 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
43 | 43 | then $a | |
44 | 44 | else throw("List size exceeds 2") | |
45 | 45 | ||
46 | 46 | $f0_2($f0_1($f0_1($acc0, 0), 1), 2) | |
47 | 47 | } | |
48 | 48 | else if ((length == 3)) | |
49 | 49 | then { | |
50 | 50 | let $l = params | |
51 | 51 | let $s = size($l) | |
52 | 52 | let $acc0 = res | |
53 | 53 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
54 | 54 | then $a | |
55 | 55 | else reducerMakeJSON($a, $l[$i]) | |
56 | 56 | ||
57 | 57 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
58 | 58 | then $a | |
59 | 59 | else throw("List size exceeds 3") | |
60 | 60 | ||
61 | 61 | $f0_2($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3) | |
62 | 62 | } | |
63 | 63 | else if ((length == 4)) | |
64 | 64 | then { | |
65 | 65 | let $l = params | |
66 | 66 | let $s = size($l) | |
67 | 67 | let $acc0 = res | |
68 | 68 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
69 | 69 | then $a | |
70 | 70 | else reducerMakeJSON($a, $l[$i]) | |
71 | 71 | ||
72 | 72 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
73 | 73 | then $a | |
74 | 74 | else throw("List size exceeds 4") | |
75 | 75 | ||
76 | 76 | $f0_2($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4) | |
77 | 77 | } | |
78 | 78 | else if ((length == 5)) | |
79 | 79 | then { | |
80 | 80 | let $l = params | |
81 | 81 | let $s = size($l) | |
82 | 82 | let $acc0 = res | |
83 | 83 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
84 | 84 | then $a | |
85 | 85 | else reducerMakeJSON($a, $l[$i]) | |
86 | 86 | ||
87 | 87 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
88 | 88 | then $a | |
89 | 89 | else throw("List size exceeds 5") | |
90 | 90 | ||
91 | 91 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5) | |
92 | 92 | } | |
93 | 93 | else if ((length == 6)) | |
94 | 94 | then { | |
95 | 95 | let $l = params | |
96 | 96 | let $s = size($l) | |
97 | 97 | let $acc0 = res | |
98 | 98 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
99 | 99 | then $a | |
100 | 100 | else reducerMakeJSON($a, $l[$i]) | |
101 | 101 | ||
102 | 102 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
103 | 103 | then $a | |
104 | 104 | else throw("List size exceeds 6") | |
105 | 105 | ||
106 | 106 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6) | |
107 | 107 | } | |
108 | 108 | else if ((length == 7)) | |
109 | 109 | then { | |
110 | 110 | let $l = params | |
111 | 111 | let $s = size($l) | |
112 | 112 | let $acc0 = res | |
113 | 113 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
114 | 114 | then $a | |
115 | 115 | else reducerMakeJSON($a, $l[$i]) | |
116 | 116 | ||
117 | 117 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
118 | 118 | then $a | |
119 | 119 | else throw("List size exceeds 7") | |
120 | 120 | ||
121 | 121 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7) | |
122 | 122 | } | |
123 | 123 | else if ((length == 8)) | |
124 | 124 | then { | |
125 | 125 | let $l = params | |
126 | 126 | let $s = size($l) | |
127 | 127 | let $acc0 = res | |
128 | 128 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
129 | 129 | then $a | |
130 | 130 | else reducerMakeJSON($a, $l[$i]) | |
131 | 131 | ||
132 | 132 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
133 | 133 | then $a | |
134 | 134 | else throw("List size exceeds 8") | |
135 | 135 | ||
136 | 136 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8) | |
137 | 137 | } | |
138 | 138 | else if ((length == 9)) | |
139 | 139 | then { | |
140 | 140 | let $l = params | |
141 | 141 | let $s = size($l) | |
142 | 142 | let $acc0 = res | |
143 | 143 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
144 | 144 | then $a | |
145 | 145 | else reducerMakeJSON($a, $l[$i]) | |
146 | 146 | ||
147 | 147 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
148 | 148 | then $a | |
149 | 149 | else throw("List size exceeds 9") | |
150 | 150 | ||
151 | 151 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9) | |
152 | 152 | } | |
153 | 153 | else if ((length == 10)) | |
154 | 154 | then { | |
155 | 155 | let $l = params | |
156 | 156 | let $s = size($l) | |
157 | 157 | let $acc0 = res | |
158 | 158 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
159 | 159 | then $a | |
160 | 160 | else reducerMakeJSON($a, $l[$i]) | |
161 | 161 | ||
162 | 162 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
163 | 163 | then $a | |
164 | 164 | else throw("List size exceeds 10") | |
165 | 165 | ||
166 | 166 | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10) | |
167 | 167 | } | |
168 | 168 | else throw("The max number of parameters exceeded") | |
169 | 169 | ||
170 | 170 | ||
171 | 171 | func getPartAndTail (arr) = { | |
172 | 172 | let el0 = arr[0] | |
173 | 173 | let el1 = arr[1] | |
174 | 174 | let el2 = arr[2] | |
175 | 175 | let el3 = arr[3] | |
176 | 176 | let el4 = arr[4] | |
177 | 177 | let el5 = arr[5] | |
178 | 178 | let el6 = arr[6] | |
179 | 179 | let el7 = arr[7] | |
180 | 180 | let el8 = arr[8] | |
181 | 181 | let el9 = arr[9] | |
182 | 182 | let arr0 = removeByIndex(arr, 0) | |
183 | 183 | let arr1 = removeByIndex(arr0, 0) | |
184 | 184 | let arr2 = removeByIndex(arr1, 0) | |
185 | 185 | let arr3 = removeByIndex(arr2, 0) | |
186 | 186 | let arr4 = removeByIndex(arr3, 0) | |
187 | 187 | let arr5 = removeByIndex(arr4, 0) | |
188 | 188 | let arr6 = removeByIndex(arr5, 0) | |
189 | 189 | let arr7 = removeByIndex(arr6, 0) | |
190 | 190 | let arr8 = removeByIndex(arr7, 0) | |
191 | 191 | let arr9 = removeByIndex(arr8, 0) | |
192 | 192 | $Tuple2([el0, el1, el2, el3, el4, el5, el6, el7, el8, el9], arr9) | |
193 | 193 | } | |
194 | 194 | ||
195 | 195 | ||
196 | 196 | func onlyInternal (caller) = if ((caller == this)) | |
197 | 197 | then unit | |
198 | 198 | else throw("Only internal call") | |
199 | 199 | ||
200 | 200 | ||
201 | 201 | func prepare_1 (arr,arr2) = [$Tuple2(arr[0], arr2[0])] | |
202 | 202 | ||
203 | 203 | ||
204 | 204 | func prepare_2 (arr,arr2) = [$Tuple2(arr[0], arr2[0]), $Tuple2(arr[1], arr2[1])] | |
205 | 205 | ||
206 | 206 | ||
207 | 207 | func prepare_3 (arr,arr2) = [$Tuple2(arr[0], arr2[0]), $Tuple2(arr[1], arr2[1]), $Tuple2(arr[2], arr2[2])] | |
208 | 208 | ||
209 | 209 | ||
210 | 210 | func prepare_4 (arr,arr2) = [$Tuple2(arr[0], arr2[0]), $Tuple2(arr[1], arr2[1]), $Tuple2(arr[2], arr2[2]), $Tuple2(arr[3], arr2[3])] | |
211 | 211 | ||
212 | 212 | ||
213 | 213 | func prepare_5 (arr,arr2) = [$Tuple2(arr[0], arr2[0]), $Tuple2(arr[1], arr2[1]), $Tuple2(arr[2], arr2[2]), $Tuple2(arr[3], arr2[3]), $Tuple2(arr[4], arr2[4])] | |
214 | 214 | ||
215 | 215 | ||
216 | 216 | func prepare_6 (arr,arr2) = [$Tuple2(arr[0], arr2[0]), $Tuple2(arr[1], arr2[1]), $Tuple2(arr[2], arr2[2]), $Tuple2(arr[3], arr2[3]), $Tuple2(arr[4], arr2[4]), $Tuple2(arr[5], arr2[5])] | |
217 | 217 | ||
218 | 218 | ||
219 | 219 | func prepare_7 (arr,arr2) = [$Tuple2(arr[0], arr2[0]), $Tuple2(arr[1], arr2[1]), $Tuple2(arr[2], arr2[2]), $Tuple2(arr[3], arr2[3]), $Tuple2(arr[4], arr2[4]), $Tuple2(arr[5], arr2[5]), $Tuple2(arr[6], arr2[6])] | |
220 | 220 | ||
221 | 221 | ||
222 | 222 | func prepare_8 (arr,arr2) = [$Tuple2(arr[0], arr2[0]), $Tuple2(arr[1], arr2[1]), $Tuple2(arr[2], arr2[2]), $Tuple2(arr[3], arr2[3]), $Tuple2(arr[4], arr2[4]), $Tuple2(arr[5], arr2[5]), $Tuple2(arr[6], arr2[6]), $Tuple2(arr[7], arr2[7])] | |
223 | 223 | ||
224 | 224 | ||
225 | 225 | func prepare_9 (arr,arr2) = [$Tuple2(arr[0], arr2[0]), $Tuple2(arr[1], arr2[1]), $Tuple2(arr[2], arr2[2]), $Tuple2(arr[3], arr2[3]), $Tuple2(arr[4], arr2[4]), $Tuple2(arr[5], arr2[5]), $Tuple2(arr[6], arr2[6]), $Tuple2(arr[7], arr2[7]), $Tuple2(arr[8], arr2[8])] | |
226 | 226 | ||
227 | 227 | ||
228 | 228 | func prepare_10 (arr,arr2) = [$Tuple2(arr[0], arr2[0]), $Tuple2(arr[1], arr2[1]), $Tuple2(arr[2], arr2[2]), $Tuple2(arr[3], arr2[3]), $Tuple2(arr[4], arr2[4]), $Tuple2(arr[5], arr2[5]), $Tuple2(arr[6], arr2[6]), $Tuple2(arr[7], arr2[7]), $Tuple2(arr[8], arr2[8]), $Tuple2(arr[9], arr2[9])] | |
229 | 229 | ||
230 | 230 | ||
231 | 231 | func prepareParams (currentArrPartKeys,currentArrPartValues,length) = if ((length == 0)) | |
232 | 232 | then throw("Empty params") | |
233 | 233 | else if ((length == 1)) | |
234 | 234 | then prepare_1(currentArrPartKeys, currentArrPartValues) | |
235 | 235 | else if ((length == 2)) | |
236 | 236 | then prepare_2(currentArrPartKeys, currentArrPartValues) | |
237 | 237 | else if ((length == 3)) | |
238 | 238 | then prepare_3(currentArrPartKeys, currentArrPartValues) | |
239 | 239 | else if ((length == 4)) | |
240 | 240 | then prepare_4(currentArrPartKeys, currentArrPartValues) | |
241 | 241 | else if ((length == 5)) | |
242 | 242 | then prepare_5(currentArrPartKeys, currentArrPartValues) | |
243 | 243 | else if ((length == 6)) | |
244 | 244 | then prepare_6(currentArrPartKeys, currentArrPartValues) | |
245 | 245 | else if ((length == 7)) | |
246 | 246 | then prepare_7(currentArrPartKeys, currentArrPartValues) | |
247 | 247 | else if ((length == 8)) | |
248 | 248 | then prepare_8(currentArrPartKeys, currentArrPartValues) | |
249 | 249 | else if ((length == 9)) | |
250 | 250 | then prepare_9(currentArrPartKeys, currentArrPartValues) | |
251 | 251 | else if ((length == 10)) | |
252 | 252 | then prepare_10(currentArrPartKeys, currentArrPartValues) | |
253 | 253 | else throw("Max number of parameters exceeded") | |
254 | 254 | ||
255 | 255 | ||
256 | 256 | func getStartAndEndIndexes (json,key) = { | |
257 | 257 | let keyLen = size(key) | |
258 | 258 | let startIndex = value(indexOf(json, key)) | |
259 | 259 | let endIndex = valueOrElse(indexOf(json, ",", startIndex), value(indexOf(json, "}", startIndex))) | |
260 | 260 | $Tuple3(keyLen, startIndex, endIndex) | |
261 | 261 | } | |
262 | 262 | ||
263 | 263 | ||
264 | 264 | func reducerFindObjcetByKey (accum,next) = { | |
265 | 265 | let $t064546776 = accum | |
266 | 266 | let key = $t064546776._1 | |
267 | 267 | let levelOn = $t064546776._2 | |
268 | 268 | let currentLevelOn = $t064546776._3 | |
269 | 269 | let startIndex = $t064546776._4 | |
270 | 270 | let endIndex = $t064546776._5 | |
271 | 271 | let currentIndex = $t064546776._6 | |
272 | 272 | let end = $t064546776._7 | |
273 | 273 | if (!(end)) | |
274 | 274 | then { | |
275 | 275 | let keyValueList = split(next, ":") | |
276 | 276 | let leftBraceCount = (size(split(next, "{")) - 1) | |
277 | 277 | let rightBraceCount = (size(split(next, "}")) - 1) | |
278 | 278 | let nextCurrentCount = (leftBraceCount - rightBraceCount) | |
279 | 279 | let $t070297229 = if (if ((levelOn == currentLevelOn)) | |
280 | 280 | then (keyValueList[0] == key) | |
281 | 281 | else false) | |
282 | 282 | then $Tuple2(currentIndex, true) | |
283 | 283 | else $Tuple2(0, false) | |
284 | 284 | let foundedStartIndex = $t070297229._1 | |
285 | 285 | let foundedStart = $t070297229._2 | |
286 | 286 | let $t072397435 = if (if ((levelOn == currentLevelOn)) | |
287 | 287 | then (keyValueList[0] == key) | |
288 | 288 | else false) | |
289 | 289 | then $Tuple2(currentIndex, true) | |
290 | 290 | else $Tuple2(0, false) | |
291 | 291 | let foundedEndIndex = $t072397435._1 | |
292 | 292 | let foundedEnd = $t072397435._2 | |
293 | 293 | $Tuple7(key, levelOn, (currentLevelOn + nextCurrentCount), if (foundedStart) | |
294 | 294 | then foundedStartIndex | |
295 | 295 | else startIndex, if (foundedEnd) | |
296 | 296 | then foundedEndIndex | |
297 | 297 | else endIndex, (currentIndex + 1), if (foundedEnd) | |
298 | 298 | then foundedEnd | |
299 | 299 | else end) | |
300 | 300 | } | |
301 | 301 | else accum | |
302 | 302 | } | |
303 | 303 | ||
304 | 304 | ||
305 | 305 | func reducerConcatList (accum,next) = { | |
306 | 306 | let $t078817942 = accum | |
307 | 307 | let result = $t078817942._1 | |
308 | 308 | let currentIndex = $t078817942._2 | |
309 | 309 | let startIndex = $t078817942._3 | |
310 | 310 | let endIndex = $t078817942._4 | |
311 | 311 | let end = $t078817942._5 | |
312 | 312 | if (!(end)) | |
313 | 313 | then { | |
314 | 314 | let newResult = if (if ((currentIndex >= startIndex)) | |
315 | 315 | then (endIndex >= currentIndex) | |
316 | 316 | else false) | |
317 | 317 | then ((result + ",") + next) | |
318 | 318 | else result | |
319 | 319 | let newEnd = (currentIndex > endIndex) | |
320 | 320 | $Tuple5(newResult, (currentIndex + 1), startIndex, endIndex, newEnd) | |
321 | 321 | } | |
322 | 322 | else accum | |
323 | 323 | } | |
324 | 324 | ||
325 | 325 | ||
326 | 326 | func reducerTakeObject (accum,next) = { | |
327 | 327 | let $t083808440 = accum | |
328 | 328 | let result = $t083808440._1 | |
329 | 329 | let leftCount = $t083808440._2 | |
330 | 330 | let rightCount = $t083808440._3 | |
331 | 331 | let i = $t083808440._4 | |
332 | 332 | let iCount = $t083808440._5 | |
333 | 333 | let end = $t083808440._6 | |
334 | 334 | if (if (!(end)) | |
335 | 335 | then true | |
336 | 336 | else (iCount > i)) | |
337 | 337 | then { | |
338 | 338 | let $t084789235 = if (contains(next, "{")) | |
339 | 339 | then { | |
340 | 340 | let _nextLeftCount = (size(split(next, "{")) - 1) | |
341 | 341 | $Tuple2(_nextLeftCount, 0) | |
342 | 342 | } | |
343 | 343 | else if (contains(next, "}")) | |
344 | 344 | then { | |
345 | 345 | let _nextRightCount = (size(split(next, "}")) - 1) | |
346 | 346 | $Tuple2(0, _nextRightCount) | |
347 | 347 | } | |
348 | 348 | else $Tuple2(0, 0) | |
349 | 349 | let nextLeftCount = $t084789235._1 | |
350 | 350 | let nextRightCount = $t084789235._2 | |
351 | 351 | let curentLeftCount = (leftCount + nextLeftCount) | |
352 | 352 | let currentRightCount = (rightCount + nextRightCount) | |
353 | 353 | if ((curentLeftCount == currentRightCount)) | |
354 | 354 | then $Tuple6(result, curentLeftCount, currentRightCount, (i + 1), iCount, true) | |
355 | 355 | else $Tuple6(((result + ",") + next), curentLeftCount, currentRightCount, (i + 1), iCount, false) | |
356 | 356 | } | |
357 | 357 | else accum | |
358 | 358 | } | |
359 | 359 | ||
360 | 360 | ||
361 | 361 | func readByKeyInternal (json,key) = { | |
362 | 362 | let $t097699885 = getStartAndEndIndexes(json, key) | |
363 | 363 | let keyLen = $t097699885._1 | |
364 | 364 | let startIndex = $t097699885._2 | |
365 | 365 | let endIndex = $t097699885._3 | |
366 | 366 | drop(take(json, (endIndex - 1)), ((startIndex + keyLen) + 3)) | |
367 | 367 | } | |
368 | 368 | ||
369 | 369 | ||
370 | 370 | func deleteByKeyInternal (json,key) = { | |
371 | 371 | let $t01016610234 = getStartAndEndIndexes(json, key) | |
372 | 372 | let keyLen = $t01016610234._1 | |
373 | 373 | let startIndex = $t01016610234._2 | |
374 | 374 | let endIndex = $t01016610234._3 | |
375 | 375 | let rowValue = drop(take(json, (endIndex - 1)), ((startIndex + keyLen) + 3)) | |
376 | 376 | let jsonBody = dropRight(drop(json, 2), 2) | |
377 | 377 | let jsonList = split(jsonBody, ",") | |
378 | 378 | let jsonSize = size(jsonList) | |
379 | 379 | let deletedValue = if (contains(rowValue, "{")) | |
380 | - | then ( let $l = jsonList | |
381 | - | let $s = size($l) | |
382 | - | let $acc0 = $Tuple6("", 0, 0, 0, jsonSize, false) | |
383 | - | func $f0_1 ($a,$i) = if (($i >= $s)) | |
384 | - | then $a | |
385 | - | else reducerTakeObject($a, $l[$i]) | |
380 | + | then { | |
381 | + | let $t01055910693 = { | |
382 | + | let $l = jsonList | |
383 | + | let $s = size($l) | |
384 | + | let $acc0 = $Tuple7(key, 0, 0, 0, 0, 0, false) | |
385 | + | func $f0_1 ($a,$i) = if (($i >= $s)) | |
386 | + | then $a | |
387 | + | else reducerFindObjcetByKey($a, $l[$i]) | |
386 | 388 | ||
387 | - | func $f0_2 ($a,$i) = if (($i >= $s)) | |
388 | - | then $a | |
389 | - | else throw("List size exceeds 100") | |
389 | + | func $f0_2 ($a,$i) = if (($i >= $s)) | |
390 | + | then $a | |
391 | + | else throw("List size exceeds 100") | |
390 | 392 | ||
391 | - | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1 | |
393 | + | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100) | |
394 | + | } | |
395 | + | let _key = $t01055910693._1 | |
396 | + | let levelOn = $t01055910693._2 | |
397 | + | let currentLevelOn = $t01055910693._3 | |
398 | + | let _startIndex = $t01055910693._4 | |
399 | + | let _endIndex = $t01055910693._5 | |
400 | + | ( let $l = jsonList | |
401 | + | let $s = size($l) | |
402 | + | let $acc0 = $Tuple5("", 0, _startIndex, _endIndex, false) | |
403 | + | func $f1_1 ($a,$i) = if (($i >= $s)) | |
404 | + | then $a | |
405 | + | else reducerConcatList($a, $l[$i]) | |
406 | + | ||
407 | + | func $f1_2 ($a,$i) = if (($i >= $s)) | |
408 | + | then $a | |
409 | + | else throw("List size exceeds 100") | |
410 | + | ||
411 | + | $f1_2($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($f1_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1 | |
412 | + | } | |
392 | 413 | else rowValue | |
393 | - | let debugValue = ( let $l = jsonList | |
394 | - | let $s = size($l) | |
395 | - | let $acc0 = $Tuple5("", 0, 1, 13, false) | |
396 | - | func $f0_1 ($a,$i) = if (($i >= $s)) | |
397 | - | then $a | |
398 | - | else reducerConcatList($a, $l[$i]) | |
399 | - | ||
400 | - | func $f0_2 ($a,$i) = if (($i >= $s)) | |
401 | - | then $a | |
402 | - | else throw("List size exceeds 100") | |
403 | - | ||
404 | - | $f0_2($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($acc0, 0), 1), 2), 3), 4), 5), 6), 7), 8), 9), 10), 11), 12), 13), 14), 15), 16), 17), 18), 19), 20), 21), 22), 23), 24), 25), 26), 27), 28), 29), 30), 31), 32), 33), 34), 35), 36), 37), 38), 39), 40), 41), 42), 43), 44), 45), 46), 47), 48), 49), 50), 51), 52), 53), 54), 55), 56), 57), 58), 59), 60), 61), 62), 63), 64), 65), 66), 67), 68), 69), 70), 71), 72), 73), 74), 75), 76), 77), 78), 79), 80), 81), 82), 83), 84), 85), 86), 87), 88), 89), 90), 91), 92), 93), 94), 95), 96), 97), 98), 99), 100))._1 | |
405 | 414 | let newJson = if (((size(json) - endIndex) == 1)) | |
406 | 415 | then (take(json, (startIndex - 2)) + drop(json, endIndex)) | |
407 | 416 | else (take(json, (startIndex - 1)) + drop(json, (endIndex + 1))) | |
408 | - | $Tuple2( | |
417 | + | $Tuple2(deletedValue, newJson) | |
409 | 418 | } | |
410 | 419 | ||
411 | 420 | ||
412 | 421 | @Callable(i) | |
413 | 422 | func makeJSONInternal (arrKeys,arrValues,iterationsCount,lastIterationLen,res) = valueOrElse(onlyInternal(i.caller), if ((iterationsCount > 0)) | |
414 | 423 | then { | |
415 | - | let $ | |
416 | - | let currentArrPartKeys = $ | |
417 | - | let arrTailKeys = $ | |
418 | - | let $ | |
419 | - | let currentArrPartValues = $ | |
420 | - | let arrTailValues = $ | |
424 | + | let $t01185412019 = getPartAndTail(arrKeys) | |
425 | + | let currentArrPartKeys = $t01185412019._1 | |
426 | + | let arrTailKeys = $t01185412019._2 | |
427 | + | let $t01202812146 = getPartAndTail(arrValues) | |
428 | + | let currentArrPartValues = $t01202812146._1 | |
429 | + | let arrTailValues = $t01202812146._2 | |
421 | 430 | let params = prepareParams(currentArrPartKeys, currentArrPartValues, 10) | |
422 | 431 | let newString = iterateMakeJSON(params, res, 10) | |
423 | 432 | let result = invoke(this, "makeJSONInternal", [arrTailKeys, arrTailValues, (iterationsCount - 1), lastIterationLen, newString], nil) | |
424 | 433 | if ((result == result)) | |
425 | 434 | then $Tuple2(nil, result) | |
426 | 435 | else throw("Strict value is not equal to itself.") | |
427 | 436 | } | |
428 | 437 | else if ((lastIterationLen != 0)) | |
429 | 438 | then { | |
430 | 439 | let params = prepareParams(arrKeys, arrValues, lastIterationLen) | |
431 | 440 | let newString = iterateMakeJSON(params, res, lastIterationLen) | |
432 | 441 | $Tuple2(nil, (("{" + dropRight(newString, 1)) + "}")) | |
433 | 442 | } | |
434 | 443 | else $Tuple2(nil, (("{" + dropRight(res, 1)) + "}"))) | |
435 | 444 | ||
436 | 445 | ||
437 | 446 | ||
438 | 447 | @Callable(i) | |
439 | 448 | func makeJSON (arrKeys,arrValues) = if ((size(arrKeys) != size(arrValues))) | |
440 | 449 | then throw("ArrayKeys and ArrayValues length must be equal") | |
441 | 450 | else { | |
442 | 451 | let len = size(arrKeys) | |
443 | 452 | let iterationsCount = fraction(1, len, 10) | |
444 | 453 | let lastIterationLen = (len % 10) | |
445 | 454 | let res = invoke(this, "makeJSONInternal", [arrKeys, arrValues, iterationsCount, lastIterationLen, ""], nil) | |
446 | 455 | if ((res == res)) | |
447 | 456 | then $Tuple2(nil, res) | |
448 | 457 | else throw("Strict value is not equal to itself.") | |
449 | 458 | } | |
450 | 459 | ||
451 | 460 | ||
452 | 461 | ||
453 | 462 | @Callable(i) | |
454 | 463 | func addToJSON (json,arrKeys,arrValues) = if ((size(arrKeys) != size(arrValues))) | |
455 | 464 | then throw("ArrayKeys and ArrayValues length must be equal") | |
456 | 465 | else { | |
457 | 466 | let len = size(arrKeys) | |
458 | 467 | let iterationsCount = fraction(1, len, 10) | |
459 | 468 | let lastIterationLen = (len % 10) | |
460 | 469 | let res = invoke(this, "makeJSONInternal", [arrKeys, arrValues, iterationsCount, lastIterationLen, (drop(dropRight(json, 1), 1) + ",")], nil) | |
461 | 470 | if ((res == res)) | |
462 | 471 | then $Tuple2(nil, res) | |
463 | 472 | else throw("Strict value is not equal to itself.") | |
464 | 473 | } | |
465 | 474 | ||
466 | 475 | ||
467 | 476 | ||
468 | 477 | @Callable(i) | |
469 | 478 | func readByJSONKey (json,key) = { | |
470 | 479 | let valueByKey = readByKeyInternal(json, key) | |
471 | 480 | $Tuple2([StringEntry("valueByKey", valueByKey)], valueByKey) | |
472 | 481 | } | |
473 | 482 | ||
474 | 483 | ||
475 | 484 | ||
476 | 485 | @Callable(i) | |
477 | 486 | func deleteByJSONKey (json,key) = { | |
478 | - | let $ | |
479 | - | let deletedValueByKey = $ | |
480 | - | let newJson = $ | |
487 | + | let $t01656216921 = deleteByKeyInternal(json, key) | |
488 | + | let deletedValueByKey = $t01656216921._1 | |
489 | + | let newJson = $t01656216921._2 | |
481 | 490 | $Tuple2([StringEntry("deletedValue", deletedValueByKey), StringEntry(kJsonRes, newJson)], $Tuple2(deletedValueByKey, newJson)) | |
482 | 491 | } | |
483 | 492 | ||
484 | 493 |
github/deemru/w8io/169f3d6 99.27 ms ◑