android - JSONArray search -


i have jsonarray in following format:

[     {      "id":11,"value":"36",      "msign":"mesha","fsign":"mesha",      "desc":"very good"      },      {      "id":12,"value":"33",      "msign":"mesha","fsign":"vrishabh",      "desc":" good"      },       {      "id":13,"value":"16",      "msign":"mesha","fsign":"kanya",      "desc":"not matching"      },       {      "id":14,"value":"21",      "msign":"mesha","fsign":"dhanu",      "desc":"average"      } ] 

i generating 'genid' previous activity & want compare above json "id".

but eclipse forcing me convert jsonarray array !

my question

  1. how convert above jsonarray array?
  2. is there other easy method it?


Comments