My problem is this. I have Java serialized binaries stored in files. I need to restore objects in C ++ and continue the process.
I think I can deserialize Java objects using Java, serialize acsii files again, and then load into C ++ code. Also, I know that you can call a Java function from C ++ using JNI, but I don't know how to pass parameters, i.e. Return objects back to C ++. But is there a better way?
Thank!
, Java ++ Java.
JNI , Java, ++. , ++ , ( , ++).
Java- ++ , , , Java, , ++. ( Java), , , ( ++), , , Java.
, Java, () , Protobuf (http://code.google.com/p/protobuf/) , ++.
++. , , Java .
- Java , JSON java, google-gson , ++ .
, , , . , Java ++, blob ++. , blob Java, . , ++ . , , , XML, XML ++ .
, , . , / . ++ .
sashang, - , , Java. deserialise ++, . , , Java ++. , .
Source: https://habr.com/ru/post/1780598/More articles:Diff files with Linux command - linuxИзвлечение значений из списков, разделенных запятыми - regexuploading a file and then copying it to two different directories? - fileJQuery test if div is first child? - jqueryDebug = true compilation - change without recompilation? - asp.netHashtable the same key with a different value ....? - javaКак контролировать лень на примере Double каждый элемент списка - haskellPHP: function with equal sign as parameter? - functionДублировать каждый элемент в списке Haskell - haskellSTL std :: map dynamic ordering - c ++All Articles