Pass a Python dict to a Java map possibly with JSON? -
i calling java file within python code. currently, passing several parameters java sees in string[] args array. prefer pass 1 parameter python dictionary (dict) java can understand , make map. know have pass python dictionary string.
how can this? should use json?
you pass json, , parse info out of json in java.
if data more simple, make every other string in java's string[] args parameter represent key or value, , have code loop through , add them map.
Comments
Post a Comment