待解决
已受理
待回复
完成
Question title : ujson 如何修改json文件内容
Work order Number : FBHWIAM13615058
Work order type : 入门
Submission time : 2022-08-16 11:21:29
Work order status : 完成
Contact information : Email
Contact information : 297******2@qq.com

Communication record

  • 问题描述:
    ujson 如何修改json文件内容
  • chic.ye : 已收到您的工单,我们将会尽快安排人手进行处理。
    2022-08-16 19:06:39
  • chic.ye :
    uos
    ql_fs
    
    ota_config = {
                : ,
                : }
    
    OTA_FLAG_CONFIG = ql_fs.path_exists(OTA_FLAG_CONFIG):
        ql_fs.touch(OTA_FLAG_CONFIG, ota_config)
    :
        ota_config = ql_fs.read_json(OTA_FLAG_CONFIG)
    (+ota_config[],  ,ota_config[])
    
    ota_config[] =  ota_config[] = ota_config[]+ql_fs.touch(OTA_FLAG_CONFIG, ota_config)
    ota_config = ql_fs.read_json(OTA_FLAG_CONFIG)
    (+ota_config[],  ,ota_config[])
    
    ota_config[] = ota_config[]+ql_fs.touch(OTA_FLAG_CONFIG, ota_config)
    ota_config = ql_fs.read_json(OTA_FLAG_CONFIG)
    (+ota_config[],  ,ota_config[])


    2022-08-16 19:07:27
  • chic.ye :

    File_Write_json_Chic.rar

    参考这个代码

    2022-08-16 19:08:17

Waiting for your appraise