We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey everyone, So I'm trying to run this sketch: https://github.com/ericblue/Processing-Brain-Grapher
Even though I thought JSON was included in Processing, I get this error: No library found for org.json. So then I thought about commenting this line: import org.json.*; so that Processing would use its own JSON. Then I get this error: The constructor JSONObject(Object) is not visible. If I add the JSON library then Processing gives me the error JSONObject is ambiguous.
Any ideas?
Answers
Either adapt that code to use Processing JSONObject's API syntax:
https://Processing.org/reference/JSONObject.html
Or remove the ambiguity by always using the full name for the imported library:
org.json.JSONObject
Thank you! If you could check out the other questions I still haven't been able to figure out I would really appreciate it!