Within the scope of this project, data will be retrieved from the server in either JSON or XML format. There are two separate client applications that will handle the data processing, with one being web-based and written in JavaScript, while the other is a C application. Despite the different languages used, both applications follow the same logic for data processing. Is there a method through which common code can be written to reuse between these two applications?