tx · 4LN9myCijaskEGQZoeSXfwStLfSc2aiEVYLGCYGVMHBh 3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7: -0.02200000 Waves 2023.03.17 23:49 [2494497] smart account 3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7 > SELF 0.00000000 Waves
{ "type": 13, "id": "4LN9myCijaskEGQZoeSXfwStLfSc2aiEVYLGCYGVMHBh", "fee": 2200000, "feeAssetId": null, "timestamp": 1679086199598, "version": 2, "chainId": 84, "sender": "3MrGaZVRhknEGfHJ19ttUPNnDRoFqcHhVN7", "senderPublicKey": "CrHxACS7bWTh8cgmgqstvybmgMqR9KtDryGFt5svZhBW", "proofs": [ "56w3quz7PTM9VdWquSXe26pW1gK4mKYVbjBDR582KnRZ7Y8HKP2swUBbLK1sepzbPp6uRc5x42PToaFo9iJeERo4" ], "script": "base64:BgIkCAISBwoFGBgBAQgSBAoCGBgSBQoDCBgYEgQKAggIEgQKAggIFgAIa0pzb25SZXMCB2pzb25SZXMABXF1b3RlCQCwCQEBASIBCW1ha2VGaWVsZAEJbmV4dFZhbHVlAwcJAKwCAgkArAICCQCsAgIJAKwCAgkArAICBQVxdW90ZQgFCW5leHRWYWx1ZQJfMQUFcXVvdGUCAToIBQluZXh0VmFsdWUCXzICASwJAKwCAgkArAICCQCsAgIJAKwCAgkArAICCQCsAgIJAKwCAgUFcXVvdGUIBQluZXh0VmFsdWUCXzEFBXF1b3RlAgE6BQVxdW90ZQgFCW5leHRWYWx1ZQJfMgUFcXVvdGUCASwBD3JlZHVjZXJNYWtlSlNPTgIFYWNjdW0JbmV4dFZhbHVlCQCsAgIFBWFjY3VtCQEJbWFrZUZpZWxkAQUJbmV4dFZhbHVlAQ9pdGVyYXRlTWFrZUpTT04DBnBhcmFtcwNyZXMGbGVuZ3RoAwkAAAIFBmxlbmd0aAAACQACAQINRW1wdHkgIHBhcmFtcwMJAAACBQZsZW5ndGgAAQoAAiRsBQZwYXJhbXMKAAIkcwkAkAMBB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C3AwC4AwC5AwC6AwC7AwC8AwC9AwC+AwC/AwDAAwDBAwDCAwDDAwDEAwDFAwDGAwDHAwDIAwDJAwDKAwDLAwDMAwDNAwDOAwDPAwDQAwDRAwDSAwDTAwDUAwDVAwDWAwDXAwDYAwDZAwDaAwDbAwDcAwDdAwDeAwDfAwDgAwDhAwDiAwDjAwDkAwDlAwDmAwDnAwDoAwDpAwDqAwDrAwDsAwDtAwDuAwDvAwDwAwDxAwDyAwDzAwD0AwD1AwD2AwD3AwD4AwD5AwD6AwD7AwD8AwD9AwD+AwD/AwCABACBBACCBACDBACEBACFBACGBACHBACIBACJBACKBACLBACMBACNBACOBACPBACQBACRBACSBACTBACUBACVBACWBACXBACYBACZBACaBACbBACcBACdBACeBACfBACgBAChBACiBACjBACkBAClBACmBACnBACoBACpBACqBACrBACsBACtBACuBACvBACwBACxBACyBACzBAC0BAC1BAC2BAC3BAC4BAC5BAC6BAC7BAC8BAC9BAC+BAC/BADABADBBADCBADDBADEBADFBADGBADHBADIBADJBADKBADLBADMBADNBADOBADPBADQBADRBADSBADTBADUBADVBADWBADXBADYBADZBADaBADbBADcBADdBADeBADfBADgBADhBADiBADjBADkBADlBADmBADnBADoBADpBADqBADrBADsBADtBADuBADvBADwBADxBADyBADzBAD0BAD1BAD2BAD3BAD4BAD5BAD6BAD7BAD8BAD9BAD+BAD/BACABQCBBQCCBQCDBQCEBQCFBQCGBQCHBQCIBQCJBQCKBQCLBQCMBQCNBQCOBQCPBQCQBQCRBQCSBQCTBQCUBQCVBQCWBQCXBQCYBQCZBQCaBQCbBQCcBQCdBQCeBQCfBQCgBQChBQCiBQCjBQCkBQClBQCmBQCnBQCoBQCpBQCqBQCrBQCsBQCtBQCuBQCvBQCwBQCxBQCyBQCzBQC0BQC1BQC2BQC3BQC4BQC5BQC6BQC7BQC8BQC9BQC+BQC/BQDABQDBBQDCBQDDBQDEBQDFBQDGBQDHBQDIBQDJBQDKBQDLBQDMBQDNBQDOBQDPBQDQBQDRBQDS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UHbmV3SnNvbgUDbmlsCQCUCgIFEWRlbGV0ZWRWYWx1ZUJ5S2V5BQduZXdKc29uABo2NCg=", "height": 2494497, "applicationStatus": "succeeded", "spentComplexity": 0 } View: original | compacted Prev: 2BjXwZp2pJZMHpJWCVwxD7y3kdbh3zTZE187y6jTVNmk Next: HuK3uLzi6jJbyA27gWHB8DvGLpsn1mvNmzHR12kw92ER Diff:
Old | New | Differences | |
---|---|---|---|
268 | 268 | let rightCount = $t064326481._3 | |
269 | 269 | let end = $t064326481._4 | |
270 | 270 | if (!(end)) | |
271 | - | then $Tuple4(((result + next) + "check"), leftCount, rightCount, true) | |
271 | + | then { | |
272 | + | let $t065057260 = if (contains(next, "{")) | |
273 | + | then { | |
274 | + | let _nextLeftCount = (size(split(next, "{")) - 1) | |
275 | + | $Tuple2(_nextLeftCount, 0) | |
276 | + | } | |
277 | + | else if (contains(next, "}")) | |
278 | + | then { | |
279 | + | let _nextLeftCount = (size(split(next, "}")) - 1) | |
280 | + | $Tuple2(_nextLeftCount, 0) | |
281 | + | } | |
282 | + | else $Tuple2(0, 0) | |
283 | + | let nextLeftCount = $t065057260._1 | |
284 | + | let nextRightCount = $t065057260._2 | |
285 | + | let curentLeftCount = (leftCount + nextLeftCount) | |
286 | + | let currentRightCount = (rightCount + nextRightCount) | |
287 | + | if ((curentLeftCount == currentRightCount)) | |
288 | + | then $Tuple4(result, curentLeftCount, currentRightCount, true) | |
289 | + | else $Tuple4((result + next), curentLeftCount, currentRightCount, false) | |
290 | + | } | |
272 | 291 | else accum | |
273 | 292 | } | |
274 | 293 | ||
275 | 294 | ||
276 | 295 | func readByKeyInternal (json,key) = { | |
277 | - | let $ | |
278 | - | let keyLen = $ | |
279 | - | let startIndex = $ | |
280 | - | let endIndex = $ | |
296 | + | let $t077567872 = getStartAndEndIndexes(json, key) | |
297 | + | let keyLen = $t077567872._1 | |
298 | + | let startIndex = $t077567872._2 | |
299 | + | let endIndex = $t077567872._3 | |
281 | 300 | drop(take(json, (endIndex - 1)), ((startIndex + keyLen) + 3)) | |
282 | 301 | } | |
283 | 302 | ||
284 | 303 | ||
285 | 304 | func deleteByKeyInternal (json,key) = { | |
286 | - | let $ | |
287 | - | let keyLen = $ | |
288 | - | let startIndex = $ | |
289 | - | let endIndex = $ | |
305 | + | let $t081538221 = getStartAndEndIndexes(json, key) | |
306 | + | let keyLen = $t081538221._1 | |
307 | + | let startIndex = $t081538221._2 | |
308 | + | let endIndex = $t081538221._3 | |
290 | 309 | let rowValue = drop(take(json, (endIndex - 1)), ((startIndex + keyLen) + 3)) | |
291 | 310 | let jsonList = split(json, ",") | |
292 | 311 | let sizeCount = size(jsonList) | |
314 | 333 | @Callable(i) | |
315 | 334 | func makeJSONInternal (arrKeys,arrValues,iterationsCount,lastIterationLen,res) = valueOrElse(onlyInternal(i.caller), if ((iterationsCount > 0)) | |
316 | 335 | then { | |
317 | - | let $ | |
318 | - | let currentArrPartKeys = $ | |
319 | - | let arrTailKeys = $ | |
320 | - | let $ | |
321 | - | let currentArrPartValues = $ | |
322 | - | let arrTailValues = $ | |
336 | + | let $t096179782 = getPartAndTail(arrKeys) | |
337 | + | let currentArrPartKeys = $t096179782._1 | |
338 | + | let arrTailKeys = $t096179782._2 | |
339 | + | let $t097919909 = getPartAndTail(arrValues) | |
340 | + | let currentArrPartValues = $t097919909._1 | |
341 | + | let arrTailValues = $t097919909._2 | |
323 | 342 | let params = prepareParams(currentArrPartKeys, currentArrPartValues, 10) | |
324 | 343 | let newString = iterateMakeJSON(params, res, 10) | |
325 | 344 | let result = invoke(this, "makeJSONInternal", [arrTailKeys, arrTailValues, (iterationsCount - 1), lastIterationLen, newString], nil) | |
377 | 396 | ||
378 | 397 | @Callable(i) | |
379 | 398 | func deleteByJSONKey (json,key) = { | |
380 | - | let $ | |
381 | - | let deletedValueByKey = $ | |
382 | - | let newJson = $ | |
399 | + | let $t01432514684 = deleteByKeyInternal(json, key) | |
400 | + | let deletedValueByKey = $t01432514684._1 | |
401 | + | let newJson = $t01432514684._2 | |
383 | 402 | $Tuple2([StringEntry("deletedValue", deletedValueByKey), StringEntry(kJsonRes, newJson)], $Tuple2(deletedValueByKey, newJson)) | |
384 | 403 | } | |
385 | 404 |
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 reducerTakeObject (accum,next) = { | |
265 | 265 | let $t064326481 = accum | |
266 | 266 | let result = $t064326481._1 | |
267 | 267 | let leftCount = $t064326481._2 | |
268 | 268 | let rightCount = $t064326481._3 | |
269 | 269 | let end = $t064326481._4 | |
270 | 270 | if (!(end)) | |
271 | - | then $Tuple4(((result + next) + "check"), leftCount, rightCount, true) | |
271 | + | then { | |
272 | + | let $t065057260 = if (contains(next, "{")) | |
273 | + | then { | |
274 | + | let _nextLeftCount = (size(split(next, "{")) - 1) | |
275 | + | $Tuple2(_nextLeftCount, 0) | |
276 | + | } | |
277 | + | else if (contains(next, "}")) | |
278 | + | then { | |
279 | + | let _nextLeftCount = (size(split(next, "}")) - 1) | |
280 | + | $Tuple2(_nextLeftCount, 0) | |
281 | + | } | |
282 | + | else $Tuple2(0, 0) | |
283 | + | let nextLeftCount = $t065057260._1 | |
284 | + | let nextRightCount = $t065057260._2 | |
285 | + | let curentLeftCount = (leftCount + nextLeftCount) | |
286 | + | let currentRightCount = (rightCount + nextRightCount) | |
287 | + | if ((curentLeftCount == currentRightCount)) | |
288 | + | then $Tuple4(result, curentLeftCount, currentRightCount, true) | |
289 | + | else $Tuple4((result + next), curentLeftCount, currentRightCount, false) | |
290 | + | } | |
272 | 291 | else accum | |
273 | 292 | } | |
274 | 293 | ||
275 | 294 | ||
276 | 295 | func readByKeyInternal (json,key) = { | |
277 | - | let $ | |
278 | - | let keyLen = $ | |
279 | - | let startIndex = $ | |
280 | - | let endIndex = $ | |
296 | + | let $t077567872 = getStartAndEndIndexes(json, key) | |
297 | + | let keyLen = $t077567872._1 | |
298 | + | let startIndex = $t077567872._2 | |
299 | + | let endIndex = $t077567872._3 | |
281 | 300 | drop(take(json, (endIndex - 1)), ((startIndex + keyLen) + 3)) | |
282 | 301 | } | |
283 | 302 | ||
284 | 303 | ||
285 | 304 | func deleteByKeyInternal (json,key) = { | |
286 | - | let $ | |
287 | - | let keyLen = $ | |
288 | - | let startIndex = $ | |
289 | - | let endIndex = $ | |
305 | + | let $t081538221 = getStartAndEndIndexes(json, key) | |
306 | + | let keyLen = $t081538221._1 | |
307 | + | let startIndex = $t081538221._2 | |
308 | + | let endIndex = $t081538221._3 | |
290 | 309 | let rowValue = drop(take(json, (endIndex - 1)), ((startIndex + keyLen) + 3)) | |
291 | 310 | let jsonList = split(json, ",") | |
292 | 311 | let sizeCount = size(jsonList) | |
293 | 312 | let deletedValue = if (contains(rowValue, "{")) | |
294 | 313 | then ( let $l = jsonList | |
295 | 314 | let $s = size($l) | |
296 | 315 | let $acc0 = $Tuple4("", 0, 0, false) | |
297 | 316 | func $f0_1 ($a,$i) = if (($i >= $s)) | |
298 | 317 | then $a | |
299 | 318 | else reducerTakeObject($a, $l[$i]) | |
300 | 319 | ||
301 | 320 | func $f0_2 ($a,$i) = if (($i >= $s)) | |
302 | 321 | then $a | |
303 | 322 | else throw("List size exceeds 1000") | |
304 | 323 | ||
305 | 324 | $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($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($f0_1($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), 101), 102), 103), 104), 105), 106), 107), 108), 109), 110), 111), 112), 113), 114), 115), 116), 117), 118), 119), 120), 121), 122), 123), 124), 125), 126), 127), 128), 129), 130), 131), 132), 133), 134), 135), 136), 137), 138), 139), 140), 141), 142), 143), 144), 145), 146), 147), 148), 149), 150), 151), 152), 153), 154), 155), 156), 157), 158), 159), 160), 161), 162), 163), 164), 165), 166), 167), 168), 169), 170), 171), 172), 173), 174), 175), 176), 177), 178), 179), 180), 181), 182), 183), 184), 185), 186), 187), 188), 189), 190), 191), 192), 193), 194), 195), 196), 197), 198), 199), 200), 201), 202), 203), 204), 205), 206), 207), 208), 209), 210), 211), 212), 213), 214), 215), 216), 217), 218), 219), 220), 221), 222), 223), 224), 225), 226), 227), 228), 229), 230), 231), 232), 233), 234), 235), 236), 237), 238), 239), 240), 241), 242), 243), 244), 245), 246), 247), 248), 249), 250), 251), 252), 253), 254), 255), 256), 257), 258), 259), 260), 261), 262), 263), 264), 265), 266), 267), 268), 269), 270), 271), 272), 273), 274), 275), 276), 277), 278), 279), 280), 281), 282), 283), 284), 285), 286), 287), 288), 289), 290), 291), 292), 293), 294), 295), 296), 297), 298), 299), 300), 301), 302), 303), 304), 305), 306), 307), 308), 309), 310), 311), 312), 313), 314), 315), 316), 317), 318), 319), 320), 321), 322), 323), 324), 325), 326), 327), 328), 329), 330), 331), 332), 333), 334), 335), 336), 337), 338), 339), 340), 341), 342), 343), 344), 345), 346), 347), 348), 349), 350), 351), 352), 353), 354), 355), 356), 357), 358), 359), 360), 361), 362), 363), 364), 365), 366), 367), 368), 369), 370), 371), 372), 373), 374), 375), 376), 377), 378), 379), 380), 381), 382), 383), 384), 385), 386), 387), 388), 389), 390), 391), 392), 393), 394), 395), 396), 397), 398), 399), 400), 401), 402), 403), 404), 405), 406), 407), 408), 409), 410), 411), 412), 413), 414), 415), 416), 417), 418), 419), 420), 421), 422), 423), 424), 425), 426), 427), 428), 429), 430), 431), 432), 433), 434), 435), 436), 437), 438), 439), 440), 441), 442), 443), 444), 445), 446), 447), 448), 449), 450), 451), 452), 453), 454), 455), 456), 457), 458), 459), 460), 461), 462), 463), 464), 465), 466), 467), 468), 469), 470), 471), 472), 473), 474), 475), 476), 477), 478), 479), 480), 481), 482), 483), 484), 485), 486), 487), 488), 489), 490), 491), 492), 493), 494), 495), 496), 497), 498), 499), 500), 501), 502), 503), 504), 505), 506), 507), 508), 509), 510), 511), 512), 513), 514), 515), 516), 517), 518), 519), 520), 521), 522), 523), 524), 525), 526), 527), 528), 529), 530), 531), 532), 533), 534), 535), 536), 537), 538), 539), 540), 541), 542), 543), 544), 545), 546), 547), 548), 549), 550), 551), 552), 553), 554), 555), 556), 557), 558), 559), 560), 561), 562), 563), 564), 565), 566), 567), 568), 569), 570), 571), 572), 573), 574), 575), 576), 577), 578), 579), 580), 581), 582), 583), 584), 585), 586), 587), 588), 589), 590), 591), 592), 593), 594), 595), 596), 597), 598), 599), 600), 601), 602), 603), 604), 605), 606), 607), 608), 609), 610), 611), 612), 613), 614), 615), 616), 617), 618), 619), 620), 621), 622), 623), 624), 625), 626), 627), 628), 629), 630), 631), 632), 633), 634), 635), 636), 637), 638), 639), 640), 641), 642), 643), 644), 645), 646), 647), 648), 649), 650), 651), 652), 653), 654), 655), 656), 657), 658), 659), 660), 661), 662), 663), 664), 665), 666), 667), 668), 669), 670), 671), 672), 673), 674), 675), 676), 677), 678), 679), 680), 681), 682), 683), 684), 685), 686), 687), 688), 689), 690), 691), 692), 693), 694), 695), 696), 697), 698), 699), 700), 701), 702), 703), 704), 705), 706), 707), 708), 709), 710), 711), 712), 713), 714), 715), 716), 717), 718), 719), 720), 721), 722), 723), 724), 725), 726), 727), 728), 729), 730), 731), 732), 733), 734), 735), 736), 737), 738), 739), 740), 741), 742), 743), 744), 745), 746), 747), 748), 749), 750), 751), 752), 753), 754), 755), 756), 757), 758), 759), 760), 761), 762), 763), 764), 765), 766), 767), 768), 769), 770), 771), 772), 773), 774), 775), 776), 777), 778), 779), 780), 781), 782), 783), 784), 785), 786), 787), 788), 789), 790), 791), 792), 793), 794), 795), 796), 797), 798), 799), 800), 801), 802), 803), 804), 805), 806), 807), 808), 809), 810), 811), 812), 813), 814), 815), 816), 817), 818), 819), 820), 821), 822), 823), 824), 825), 826), 827), 828), 829), 830), 831), 832), 833), 834), 835), 836), 837), 838), 839), 840), 841), 842), 843), 844), 845), 846), 847), 848), 849), 850), 851), 852), 853), 854), 855), 856), 857), 858), 859), 860), 861), 862), 863), 864), 865), 866), 867), 868), 869), 870), 871), 872), 873), 874), 875), 876), 877), 878), 879), 880), 881), 882), 883), 884), 885), 886), 887), 888), 889), 890), 891), 892), 893), 894), 895), 896), 897), 898), 899), 900), 901), 902), 903), 904), 905), 906), 907), 908), 909), 910), 911), 912), 913), 914), 915), 916), 917), 918), 919), 920), 921), 922), 923), 924), 925), 926), 927), 928), 929), 930), 931), 932), 933), 934), 935), 936), 937), 938), 939), 940), 941), 942), 943), 944), 945), 946), 947), 948), 949), 950), 951), 952), 953), 954), 955), 956), 957), 958), 959), 960), 961), 962), 963), 964), 965), 966), 967), 968), 969), 970), 971), 972), 973), 974), 975), 976), 977), 978), 979), 980), 981), 982), 983), 984), 985), 986), 987), 988), 989), 990), 991), 992), 993), 994), 995), 996), 997), 998), 999), 1000))._1 | |
306 | 325 | else rowValue | |
307 | 326 | let newJson = if (((size(json) - endIndex) == 1)) | |
308 | 327 | then (take(json, (startIndex - 2)) + drop(json, endIndex)) | |
309 | 328 | else (take(json, (startIndex - 1)) + drop(json, (endIndex + 1))) | |
310 | 329 | $Tuple2(deletedValue, newJson) | |
311 | 330 | } | |
312 | 331 | ||
313 | 332 | ||
314 | 333 | @Callable(i) | |
315 | 334 | func makeJSONInternal (arrKeys,arrValues,iterationsCount,lastIterationLen,res) = valueOrElse(onlyInternal(i.caller), if ((iterationsCount > 0)) | |
316 | 335 | then { | |
317 | - | let $ | |
318 | - | let currentArrPartKeys = $ | |
319 | - | let arrTailKeys = $ | |
320 | - | let $ | |
321 | - | let currentArrPartValues = $ | |
322 | - | let arrTailValues = $ | |
336 | + | let $t096179782 = getPartAndTail(arrKeys) | |
337 | + | let currentArrPartKeys = $t096179782._1 | |
338 | + | let arrTailKeys = $t096179782._2 | |
339 | + | let $t097919909 = getPartAndTail(arrValues) | |
340 | + | let currentArrPartValues = $t097919909._1 | |
341 | + | let arrTailValues = $t097919909._2 | |
323 | 342 | let params = prepareParams(currentArrPartKeys, currentArrPartValues, 10) | |
324 | 343 | let newString = iterateMakeJSON(params, res, 10) | |
325 | 344 | let result = invoke(this, "makeJSONInternal", [arrTailKeys, arrTailValues, (iterationsCount - 1), lastIterationLen, newString], nil) | |
326 | 345 | if ((result == result)) | |
327 | 346 | then $Tuple2(nil, result) | |
328 | 347 | else throw("Strict value is not equal to itself.") | |
329 | 348 | } | |
330 | 349 | else if ((lastIterationLen != 0)) | |
331 | 350 | then { | |
332 | 351 | let params = prepareParams(arrKeys, arrValues, lastIterationLen) | |
333 | 352 | let newString = iterateMakeJSON(params, res, lastIterationLen) | |
334 | 353 | $Tuple2(nil, (("{" + dropRight(newString, 1)) + "}")) | |
335 | 354 | } | |
336 | 355 | else $Tuple2(nil, (("{" + dropRight(res, 1)) + "}"))) | |
337 | 356 | ||
338 | 357 | ||
339 | 358 | ||
340 | 359 | @Callable(i) | |
341 | 360 | func makeJSON (arrKeys,arrValues) = if ((size(arrKeys) != size(arrValues))) | |
342 | 361 | then throw("ArrayKeys and ArrayValues length must be equal") | |
343 | 362 | else { | |
344 | 363 | let len = size(arrKeys) | |
345 | 364 | let iterationsCount = fraction(1, len, 10) | |
346 | 365 | let lastIterationLen = (len % 10) | |
347 | 366 | let res = invoke(this, "makeJSONInternal", [arrKeys, arrValues, iterationsCount, lastIterationLen, ""], nil) | |
348 | 367 | if ((res == res)) | |
349 | 368 | then $Tuple2(nil, res) | |
350 | 369 | else throw("Strict value is not equal to itself.") | |
351 | 370 | } | |
352 | 371 | ||
353 | 372 | ||
354 | 373 | ||
355 | 374 | @Callable(i) | |
356 | 375 | func addToJSON (json,arrKeys,arrValues) = if ((size(arrKeys) != size(arrValues))) | |
357 | 376 | then throw("ArrayKeys and ArrayValues length must be equal") | |
358 | 377 | else { | |
359 | 378 | let len = size(arrKeys) | |
360 | 379 | let iterationsCount = fraction(1, len, 10) | |
361 | 380 | let lastIterationLen = (len % 10) | |
362 | 381 | let res = invoke(this, "makeJSONInternal", [arrKeys, arrValues, iterationsCount, lastIterationLen, (drop(dropRight(json, 1), 1) + ",")], nil) | |
363 | 382 | if ((res == res)) | |
364 | 383 | then $Tuple2(nil, res) | |
365 | 384 | else throw("Strict value is not equal to itself.") | |
366 | 385 | } | |
367 | 386 | ||
368 | 387 | ||
369 | 388 | ||
370 | 389 | @Callable(i) | |
371 | 390 | func readByJSONKey (json,key) = { | |
372 | 391 | let valueByKey = readByKeyInternal(json, key) | |
373 | 392 | $Tuple2([StringEntry("valueByKey", valueByKey)], valueByKey) | |
374 | 393 | } | |
375 | 394 | ||
376 | 395 | ||
377 | 396 | ||
378 | 397 | @Callable(i) | |
379 | 398 | func deleteByJSONKey (json,key) = { | |
380 | - | let $ | |
381 | - | let deletedValueByKey = $ | |
382 | - | let newJson = $ | |
399 | + | let $t01432514684 = deleteByKeyInternal(json, key) | |
400 | + | let deletedValueByKey = $t01432514684._1 | |
401 | + | let newJson = $t01432514684._2 | |
383 | 402 | $Tuple2([StringEntry("deletedValue", deletedValueByKey), StringEntry(kJsonRes, newJson)], $Tuple2(deletedValueByKey, newJson)) | |
384 | 403 | } | |
385 | 404 | ||
386 | 405 |
github/deemru/w8io/169f3d6 239.07 ms ◑