This field is set based on o_type when the object is created and it is not changed during the lifetime of the object. Therefore we can check o_type to choose the proper delete function in json_object_put(), and save sizeof(void *) bytes in struct json_object_private.
1.4 KiB
1.4 KiB