posted 11 years ago
Hello,
Have you all have a great day. I am new to JSON and I try to use it in my first project.
I have a question regarding the getString method in JSON which I try to get your help.
I am using net.sf.json library and my json object looks like the following :
I have a question that I would like to ask relating to an element called "geocode" which exists on my second record but it does not exist on my first record; so it gives me an error when I search for it in the following code :
and the error message was :
My goal is to be able to get "geocode" since it appears in some of my record but not all ; but i don't know yet on how to approach it.
I would like to seek your helps and expertise if you know how to handle it.
Thanks so much in advance for all of your help.
Bill