Editing and storing method of JSON configuration file
A technology for configuring files and saving methods, which is applied in the field of editing and saving, and can solve problems such as large file size and complex file content, and achieve the effects of reducing running space and time, improving saving efficiency, and improving speed and efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] see figure 1 , the present invention provides a method for editing and saving a JSON configuration file, comprising the steps of:
[0061] S1, marking the editable part of the JSON configuration file;
[0062] S2. According to the mark, the editable part is retrieved for the user to edit to generate user-edited content;
[0063] S3. According to the mark, save the content edited by the user to the JSON configuration file, so as to update the corresponding content of the editable part.
Embodiment 2
[0065] see figure 2 Correspondingly, this embodiment provides a device for editing and saving JSON configuration files, including:
[0066] Marking module 1, which is used to mark the editable part of the JSON configuration file;
[0067] The call module 2 is used to call the editable part according to the mark for the user to edit to generate the user edited content;
[0068] The storage module 3 is configured to save the content edited by the user to the JSON configuration file according to the mark, so as to update the corresponding content of the editable part.
[0069] Description of technical effect: the present invention marks the editable part of the JSON configuration file; according to the mark, the editable part is called for the user to edit to generate the user edited content; according to the mark, the user edited content is saved to the JSON configuration file to update The corresponding content of the editable part. Through the above technical means, the vo...
Embodiment 3
[0076] see image 3 , specifically, step S1 includes:
[0077] S11. Marking the editable part;
[0078] S12. Mark the content in the editable part.
[0079] It should be noted that the editable part refers to the editable range in the JSON configuration file, and the content in the editable part is the specific content in the editable range.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


