-1

I downloaded google-gson-2.2.4-release.zip and tried to add it to Eclipse (Kepler or Juno) project (Java Project or DynamicWeb - no matter)..

but all options:

- adding jar or zip to buildpath (under /lib dir, external Jars or local, not extacted)

- checking Order&Export and clean build 

 - Java7 and Java6..

No way..(I do not use maven and I am not planning so far)

It' ridiculous...

These libs work straight away in the same project:

          org.apache.sling.commons.json-2.0.6.jar
          json-simple-1.1.1.jar
GML-VS
  • 1,101
  • 1
  • 9
  • 34

2 Answers2

0

Oh my God...

in Google JSON library we have

            **JsonObject**

But in all other JSON libraries like

         org.apache.sling.commons.json-2.0.6.jar
         json-simple-1.1.1.jar
         wink-something-json.jar

We have

           **JSONObject** 

So I could not found JSONObject or JSONArray in Google library..

GML-VS
  • 1,101
  • 1
  • 9
  • 34