Run-time and Generated Python Decode Methods

Three types of Python decode functions/methods are available for decoding different types of data. These are:

The generated decode methods accept an Asn1JsonDecodeBuffer, the buffer to decode from. Example signatures are:

@staticmethod
def json_decode(decbuf):


def json_decode(self, decbuf):

All decode methods raise an exception if decoding fails.