The class /UI2/CL_JSON is part of software component 'SAP_UI', not 'SAP_BASIS', if that is what you were refering to as 7.4.
I appreciate this blog from prabaharan.asokan2, also wishing he could rework the code section so that the presentation match...