hello
please how to randomly chouse one number from this parced strings
regards
>> GENRE (QueryJsonTokenRecursive) <<
Parsed 128 values:
373
363
369
370
372
368
6
16
14
22
30
417
188
58
59
60
61
62
191
63
64
74
66
189
192
79
70
83
84
80
68
85
73
67
72
71
76
81
82
190
75
69
27
17
36
9
7
25
436
15
270
385
386
387
388
19
78
271
384
263
23
187
404
11
327
10
450
449
365
448
366
451
452
453
454
456
455
367
464
466
467
457
460
459
458
461
462
463
465
389
470
469
468
26
430
308
399
24
20
443
342
267
264
397
351
12
220
303
302
297
298
301
307
305
300
299
296
295
13
28
396
21
394
395
420
442
426
196
ZEUS
2
add them to list and use Get Random Item
Block
Thanks, but how auto create list from this variable
The variable is parsed from SOURCE strings
Ruri
4
If you parsed recursively, it’s already in a list variable. So just pass it to the block @ZEUS mentioned
I do it but i don’t know wht is the problem, i don’t have answer like OB1,
BLOCK:Parse
LABEL:GENRE
input = @data.SOURCE
leftDelim = ":[{"
rightDelim = "}]}"
jToken = $"js.[*].id"
RECURSIVE
MODE:Json
=> VAR @GENRE
ENDBLOCK
BLOCK:GetRandomItem
list = $["<GENRE>"]
=> VAR @GENRE2
ENDBLOCK
>> GENRE (QueryJsonTokenRecursive) <<
Parsed 128 values:
373
363
369
370
372
368
6
16
14
22
30
417
188
58
59
60
61
62
191
63
64
74
66
189
192
79
70
83
84
80
68
85
73
67
72
71
76
81
82
190
75
69
27
17
36
9
7
25
436
15
270
385
386
387
388
19
78
271
384
263
23
187
404
11
327
10
450
449
365
448
366
451
452
453
454
456
455
367
464
466
467
457
460
459
458
461
462
463
465
389
470
469
468
26
430
308
399
24
20
443
342
267
264
397
351
12
220
303
302
297
298
301
307
305
300
299
296
295
13
28
396
21
394
395
420
442
426
196
>> Get Random Item (GetRandomItem) <<
Got random item: System.Collections.Generic.List`1[System.String]
sorry for bad English
regards
Sorry it my fault, its ok
thanks
BLOCK:GetRandomItem
list = @GENRE
=> VAR @GENRE2
ENDBLOCK
1 Like