I'm looking into creating a library for myself that handles common internet-related functions. So far I have http GET and POST functions, and now I'm looking into developing a one-size-fits-all JSON parsing function that will convert JSON it receives as a string into a multi-dimentional associative array that can be searched through.
I looked through stackoverflow and found this link which looks very helpful, other than that the code is designed to be very specific. Is there a nice handy function in org.json.* that can let you turn your JSON string into a multi-dimentional associative array that I can return and manipulate outside the class?
Thanks, John.
Ps. I should mention that I have very little prior experience with java - I'm a PHP developer at heart.