Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以将元素添加到 JSON 文件而不使用 Javascript 或 Jquery 将其加载到内存中?Json 文件将在服务器端,我想在客户端进行编辑。
是的。手动编辑它或用 JavaScript 以外的语言编写一些东西来添加字段......
不,没有,手工编辑会搞砸,特别是如果你的对象结构很复杂,
但是Javascript不能编辑文件