Is it possible to remove element from JSONArray ( java )

0 votes
Hello. Can i remove element from JSONArray ( Java )?
asked Mar 22, 2016 in Cocos2D-X by Kirill Kotov (39 points)

1 Answer

+1 vote
 
Best answer
Hi Kirill,

 

Could you please elaborate this question more? If possible then please share an example.  It will help us to provide better support to you.

 

Regards,

Himanshu Sharma
answered Mar 23, 2016 by hs00105 (2,005 points)
selected Mar 23, 2016 by Kirill Kotov
Hello.

JSONArray arrayJSON = profileJSON.getJSONArray( "ZZT" );

Can i remove element from arrayJSON by index? Example arrayJSON.remove( 1 );
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...