You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the problem
Is there a "recommended" way to pass JSON data between Java and Python code, apart from serialising it first?
There are many JSON parsing libraries for Java. Do any of them work better with JEP?
In my use case, when I get a JSOn object as return value of Python code and pass it back later to another Python code ( in the same JEP Interpreter), it does not have the keys it is supposed to have. Also passing a Jackson ObjectNode to Python does not work. Is there any way to make it work? Any code sample maybe?
Many thanks.
The text was updated successfully, but these errors were encountered:
There is no recommended way to pass around JSON data. In general builtin types like Maps, Lists, and dicts should fully convert between languages so simple structures work. But more complex objects should also be accessible between languages. If you have a code sample showing the problems you are having I might be able to provide more information on what is going wrong in your case.
Describe the problem
Is there a "recommended" way to pass JSON data between Java and Python code, apart from serialising it first?
There are many JSON parsing libraries for Java. Do any of them work better with JEP?
In my use case, when I get a JSOn object as return value of Python code and pass it back later to another Python code ( in the same JEP Interpreter), it does not have the keys it is supposed to have. Also passing a Jackson ObjectNode to Python does not work. Is there any way to make it work? Any code sample maybe?
Many thanks.
The text was updated successfully, but these errors were encountered: