[ad_1]
I am working on a web-based application (electron) that allows you to call a python script or C/C++. There is piping in the application which means an output of a python script should be allowed to be the input for a C/C++ binary.
I know there is many ways of representing data in a general standard such as using JSON, but I would like to know if there is something that is as universal as JSON but maintains/translates datatypes as necessary.
An example is using a complex number. In C++ I would use std::complex and in python it would be complex or np.complex. Which eventually will reach the web-based application which is in javascript.
[ad_2]