generate() in json_generator.h and unpack_json should be implemented by the class/file that uses it. #5064
Open
Description
Instead of defining all these functions in the top-level headers we should distribute them across the actual classes that implement them. This way we can get rid of the circular json<->ir dependency.