from Json
fun <T> TreeLayoutResult.Companion.fromJson(json: String, keyToNode: (String) -> T): TreeLayoutResult<T>(source)
Deserializes a TreeLayoutResult from a JSON string previously produced by toJson.
Return
The deserialized TreeLayoutResult.
Parameters
json
The JSON string to parse.
key To Node
Converts a string key back to the node instance.