settingsToJson

This network as JSON, which reconstructs an equivalent network through fromJson.