Hi, I need to parse a json file coming in from the pynetwork tables on a Raspberry Pi. I’ve put the json into the table using something like:
temp_entry = []
temp_entry.append({"label": labelMap[detection.label], "confidence%": int(detection.confidence * 100)})
entry.setString(json.dumps(temp_entry))
Now I need to get it out on the WPI java program end. Has anyone used json in WPILib program?
import org.json.simple.JSONValue;
gives a compile error, since it can’t find org.json. How can I import this?
Thank you.