Request for %set_json_keys function and json data writing capabilities

0 votes
asked Nov 25, 2023 in Wanted features by kasra (1,040 points)

Hi,

The json-preprocessor has these really useful builtin functions : 

Could you consider adding 
%set_json_key ?
As far I know we are not able to write to a json.
I guess it's a difficult feature and maybe out of the scope... I don't know
Being able of doing :

!$diagram={

"version":"",

"data":[]

}

$diagram.version = %version()

$diagram.data[0] = $some_variable

opens a new world lol.
Thanks.
commented Nov 25, 2023 by The-Lu (67,080 points)
commented Nov 25, 2023 by kasra (1,040 points)
Thanks.
It seams that its an OLD request lol.
Do you know it its faesable ? Is it considered by the dev team
commented Apr 12 by The-Lu (67,080 points)

Hello K, and all,

See also new discussion here:

Regards,
Th.

1 Answer

0 votes
answered Apr 21 by The-Lu (67,080 points)
selected Apr 21 by kasra
commented Apr 21 by kasra (1,040 points)
GREAT  !!!

I will test it this week.
...