JSON C decode functions are generated when the -json switch is specified on the command line. For each generated C type, a C JSON decode function is generated. This function will parse an encoded JSON message from a message buffer or stream and decode the contents into a C variable of the given type.