Currently i have two for loops that push ids into two separate json_array_t such as
[123,124,125,126]
[123,126,127]
I want to combine these two json_array_t into one and remove duplicates so it results in
[123,124,125,126,127]
to push ids from one json_array_t to another im doing this
ja_id1.put(1,id2,false);
But this puts all ids into one and keeps duplicates, and im not sure how to remove duplicates, thanks.