Closed The-Lum closed 2 weeks ago
Hello PlantUML team, and all,
To answer to:
Here is a (first) PR with the new builtin functions:
%str2json
%json_add
%json_remove
[!NOTE] Here is a first question about %json_remove on array: %json_remove([1,2,3], 0) = [2,3] But currently: %json_remove([1,2,3], -1) = [1,2,3] What should we do when the index is negative? (nothing or from the end of the array... like below) %json_remove([1,2,3], -1) = [1,2]
[!NOTE] Here is a first question about %json_remove on array:
%json_remove([1,2,3], 0) = [2,3]
But currently:
%json_remove([1,2,3], -1) = [1,2,3]
%json_remove([1,2,3], -1) = [1,2]
Regards, Th.
Hello PlantUML team, and all,
To answer to:
328
1733
Here is a (first) PR with the new builtin functions:
%str2json
%json_add
%json_remove
Regards, Th.