in Java, is JsonArray pass_by_value or pass_by_reference?
I want to crate new JsonArray for each iteration. Please explain what is wrong with the logic I have. Based