1

im using an external mongodb to get json results. I have like 1.000.000 arrays that contain this (this is 1 of those million arrays):

{
  "name" : "A Bubble",
  "summonerId" : NumberLong(41119375),
  "region" : "euw",
  "level" : NumberLong(30)
}

how do I remove the Numberlong() from the code? needs to happen for x amount of arrays. Im working with php files.

this is what i want:

{
  "name" : "A Bubble",
  "summonerId" : 41119375,
  "region" : "euw",
  "level" : 30
}
floppy
  • 303
  • 2
  • 13

0 Answers0