Method FromJsonString
FromJsonString(string, SnmpDeltaHelper)
Deserializes a JSON String to a SnmpHelper instance.
public static SnmpHelper FromJsonString(string snmpHelperSerialized, SnmpDeltaHelper deltaHelper)
Parameters
snmpHelperSerializedstringSerialized SnmpHelper instance.
deltaHelperSnmpDeltaHelperAn instance of the SnmpDeltaHelper class which will take care of fetching the SNMP Group Delta from DataMiner.
Returns
- SnmpHelper
If the
snmpHelperSerializedis valid, a new instance of the SnmpHelper class with all data found insnmpHelperSerialized.
Otherwise, throws a JsonReaderException.
Exceptions
- JsonReaderException
snmpHelperSerializedis an invalid string representation of a SnmpHelper instance.