Skip to content

issue in add_objcet_to_json #58

@Amangondaliya555

Description

@Amangondaliya555

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions