Deserializes an array of nodes from a JSON string.
This function parses a JSON string containing an array of node objects
and reconstructs each node as the appropriate Node subclass instance.
It validates the input and provides helpful error messages, including
the index of any node that fails to deserialize.
Deserializes an array of nodes from a JSON string.
This function parses a JSON string containing an array of node objects and reconstructs each node as the appropriate Node subclass instance. It validates the input and provides helpful error messages, including the index of any node that fails to deserialize.