我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何从json值中删除longnumber

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
}

近期文章

  • ExtJs 4 MultiSelect编辑表单不加载选择
  • 忽略背景颜色 - DOMPDF
  • google +登录api,通过http发送访问权限?
  • 当有多个条目时,数据表“显示0个条目中的0到0”
  • 在PHP上接受使用CURL的cookie
  • 在浏览器关闭并重新打开后,在php中无法读取cookie值
  • 如何使用artdarek-oauth-4-laravel获取谷歌联系人列表?
  • 无法从jquery ajax向php发送数据?
  • 如何在没有REST API用户身份验证的情况下显示LinkedIn公司的更新?
  • Laravel makhzumi / laravel-calendar获取并显示日期上的多个不同事件
  • php使用递归从多维关联数组中删除重复项
  • 代码是否正常工作?
  • 我想创建一个小部件,它将在将Widget添加到其网页的网站上呈现应用程序
  • 解析PHP SDK版本要求
  • 预填充多个记录
  • Codeigniter FTP下载无法正常工作
  • Yii多个相关模型
  • 以多页php格式保存用户输入数据
  • PHP中不再强制必需的参数?
  • 具有多个参数的基本Laravel路由过滤

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华