If we have a node in the JSON like "node.color.R", there is an error.
I added a rpartition instead of a split in order to have the last element for the attribute and the first element for the node : "node.color" for the name dans "R" for the attribute.
If we have a node in the JSON like "node.color.R", there is an error. I added a rpartition instead of a split in order to have the last element for the attribute and the first element for the node : "node.color" for the name dans "R" for the attribute.