JSON combined data processing method and device

A JSON and data processing technology, which is applied in the data processing field of JSON merging, can solve problems such as unsatisfactory requirements, and achieve the effects of wide application range, improved efficiency, and improved flexibility

Pending Publication Date: 2019-09-17
ADVANCED NEW TECH CO LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The direct overlay method usually only covers one layer of JSON. When the JSON structure is complex and the merge strategy needs to be controlled, the direct overlay merge method often cannot meet the requirements.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • JSON combined data processing method and device
  • JSON combined data processing method and device
  • JSON combined data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described The embodiments are only some of the embodiments in this specification, not all of them. Based on the embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this specification.

[0032] JSON is a lightweight data exchange format that can be used for computer program development and processing. Different parameters for business processing can be configured in different JSON data. During data processing, repeated field values ​​may appear in different JSON data, and different JSON data need to be merged. For example: in the management of...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a JSON combined data processing method and device, and the method comprises the steps: setting a replacement expression in first JSON data, directionally obtaining a value corresponding to the replacement expression in second JSON data, and carrying out the parameter replacement of the replacement expression in the first JSON data. The formats of the replacement expressions can be set according to different service requirements, the replacement parameters are defined, the self-defined requirement of JSON merging is met, and the flexibility of JSON merging is improved. Moreover, JSON merging is carried out in a parameter replacement mode, the JSON merging efficiency can be improved, the structure of the JSON is not limited, the method is suitable for JSON merging of a complex structure, and the application range is wide.

Description

technical field [0001] This specification belongs to the field of computer technology, and in particular relates to a JSON merged data processing method and device. Background technique [0002] With the advancement of science and technology, computer technology is constantly developing, which greatly facilitates people's life. When computer technology is used for business processing, different processing procedures may require the reuse of building blocks, that is, different processing procedures may have some duplication of functions. JSON (JavaScript Object Notation, JS Object Notation) is a lightweight data exchange format that is easy for humans to read and write, but also easy for machines to parse and generate. When building module reuse, JSON merging can be used to meet the needs of different processing processes and differences. [0003] In the prior art, JSON merging can usually adopt the method of directly overwriting and merging, that is, when two JSONs have th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/30G06F8/41
CPCG06F8/315G06F8/44
Inventor 孙男
Owner ADVANCED NEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products