Supercharge Your Innovation With Domain-Expert AI Agents!

Json data parsing method and device

A data analysis and data technology, applied in the direction of electrical digital data processing, program control design, instruments, etc., can solve the problems of poor versatility of analysis tools, achieve the effect of improving versatility and reducing development costs

Inactive Publication Date: 2017-09-29
BEIJING XIAODU INFORMATION TECH CO LTD
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a method and device for parsing json data to solve the problem of poor versatility of parsing tools generated in the prior art

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 data parsing method and device
  • Json data parsing method and device
  • Json data parsing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention.

[0025] In some processes described in the specification and claims of the present invention and the above-mentioned drawings, a plurality of operations appearing in a specific order are contained, but it should be clearly understood that these operations may not be performed in the order in which they appear herein Execution or parallel execution, the serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. Additionally, these processes can include more or fewer operations, and these operations can be performed sequentially or in parallel. It should be n...

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 embodiment of the invention provides a json data parsing method and device, and relates to the technical field of computer application. The method includes the steps that a json node to be queried is extracted from json data; a parsing template is configured according to information of the json node; a java data structure is built according to the parsing template; the java data structure is initialized by the json data, and a java object is obtained. According to the technical scheme, parsing of the json data in different formats is achieved only through configuration of different parsing templates without necessity of redevelopment of a whole parsing tool, so that the generality of the parsing tool is improved, and plenty of development cost is reduced.

Description

[0001] This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office of China on April 20, 2017, with application number 201720419143.5, and the title of the invention is "a method and device for parsing json data", the entire contents of which are hereby incorporated by reference In this application. technical field [0002] The embodiments of the present invention relate to the technical field of computer applications, and in particular to a method for parsing json data and a device for parsing json data. Background technique [0003] Currently open source Json data analysis tools include third-party Java libraries such as FastJson, Jackson, and Gson. They all support serialization and deserialization of Json data. FastJson is a json parsing tool implemented in the java language; JackSon is a data processing framework for the java platform; Gson is a java class library used to map between Java objects and Json data....

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
IPC IPC(8): G06F9/45
CPCG06F8/427
Inventor 李源
Owner BEIJING XIAODU INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More