Here, i have included a my example code. I want to insert (push) data to my multidimensional json.
  const answers = [
    { id: "1", text: "192.168.1.1" },
    { id: "2", text: "127.0.0.1", correct: true },
    { id: "3", text: "209.85.231.104" },
    { id: "4", text: "66.220.149.25" },
  ];
And i want to insert element like { id: "5", text: "66.220.149.20" }, to the last position. and the final result should looks like
  const answers = [
    { id: "1", text: "192.168.1.1" },
    { id: "2", text: "127.0.0.1", correct: true },
    { id: "3", text: "209.85.231.104" },
    { id: "4", text: "66.220.149.25" },
    { id: "5", text: "66.220.149.20" }
  ];
How to achieve this one with multidimensional json data with react-native? Or is it possible to do that?
 
    