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