robotframework-jsonlibrary icon indicating copy to clipboard operation
robotframework-jsonlibrary copied to clipboard

issue in add_objcet_to_json

Open Amangondaliya555 opened this issue 2 years ago • 0 comments

Hi, I believe there is a small issue with the function add_object_to_json. In line 132 of jsonlibrary.py, it should be...

match.value.update({child_name: object_to_add_cpy[child_name]})

Currently, the function is adding the whole object as a value. input: {key1;value1} output: {key1: {key1;value1}}

can you please check and let me know if it is a bug or I am doing something wrong?

Amangondaliya555 avatar Oct 13 '23 09:10 Amangondaliya555