I have a very larger JSON(hundreds of KB) and plan to pass it to C++ through JNI. I wonder if this a proper way to do it.
My concern is:
Although string in JAVA is in heap, but will it cause my C++ stack overflow during JNI copying from JVM to C++?
Will JNI become a bottle neck? How fast is the JNI?