skrf.io.general.to_json_string

skrf.io.general.to_json_string(network)[source]

Dumps Network to JSON string. Faster than converting and saving as touchstone. Safer than pickling (no arbitrary code execution on load). :param network: Network object

A Network object to be serialized and returned as a JSON string.

Returns:

str JSON string representation of a network object.