JsonValue2Object Method
Converts a JsonValue subclass object into an OpenROAD object.
This method has the following syntax:
Object = JsonHandler.Value2Object(jsonval = JsonValue[, existing_obj = object]
[, default_class = class][, default_row_class = class])
This method has the following parameters:
jsonval
Specifies the JsonValue subclass object used to populate an OpenROAD object.
existing_obj
Specifies an existing OpenROAD object that should be populated (rather than creating a new one).
default_class
Specifies the class to be used by default to create the object (if the JsonObject does not contain a "classname" member).
default_row_class
Specifies the default Row_Class if the object to be populated is an ArrayObject (if the JsonObject does not contain a "row_class" member).
If the method is successful, it returns a reference to the OpenROAD object populated; otherwise, it returns NULL.
The same mapping rules as described for the JsonObject2Object Method apply.
Last modified date: 05/07/2026