json - 在 pyspakr 中修复格式错误的 json
问题描述
我有一个 json 文件,我从以下格式的源代码中收到该文件。{ “api_version”:“1.3”,“response_code”:“200”,“id”:“3237490513229753”,“lon”:“38.969916127827”,“lat”:“45.069889625267”,“page_url”:null,“name” :“ATB”,“firm_group”:{“id”:“3237499103085728”,“count”:“1”},“city_name”:“克拉斯诺达尔”,“city_id”:“3237585002430511”,“地址”:“Turgeneva, 172/1”、“create_time”:“2008-07-22 10:02:04 07”、“modification_time”:“2013-08-09 20:04:36 07”、“see_also”:[{“id” :“3237491513434577”,“lon”:38.973110606808,“ lat": 45.029031222211, "name": "Advance", "hash": "5698hn745A8IJ1H86177uvgn94521J3464he26763737242Cf6e654G62J0I7878e", "ads": { "ponded_article": { "title:"aman.English", "text": "Business. }, "warning": null } } ] } 我知道没有用双引号括起来的标题键存在语法问题。如何自动修复 json 文件的基本语法问题?任何帮助将不胜感激。null } } ] } 我知道没有用双引号括起来的标题键存在语法问题。如何自动修复 json 文件的基本语法问题?任何帮助将不胜感激。null } } ] } 我知道没有用双引号括起来的标题键存在语法问题。如何自动修复 json 文件的基本语法问题?任何帮助将不胜感激。
解决方案
推荐阅读
- java - udp 广播未到达辅助 ip
- javascript - 查询什么时候开始执行,如何阻止它执行?
- sql - 如何计算自一天开始以来每小时的聚合不同 ID?
- automation - 用于有条件地创建 SAS 数据子类别的 SAS do-loop 问题
- linux - Windows 中的导出命令
- sql - 根据 SQL Server 中的日期字段对行进行分组
- c++ - ImGui(GLFW)如何将分离的视口保持在主窗口顶部
- alfresco - 露天 Pgadmin4
- tensorflow - Tensorflow:从 Python 保存 Keras 模型并从 C++ 加载它
- swift - 使用组合防止并发