Target object serialization method and device, electronic equipment and storage medium

A technology of target objects and electronic devices, applied in the computer field, can solve the problems of large labor cost, JSON serialization consumption, low efficiency, etc., and achieve the effect of improving efficiency and saving labor costs

Pending Publication Date: 2021-03-02
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present disclosure provides a serialization method, device, electronic device and storage medium of a target object, so as to at least solve the problems of JSON serialization consuming a large amount of labor costs and low efficiency in related technologies

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
  • Target object serialization method and device, electronic equipment and storage medium
  • Target object serialization method and device, electronic equipment and storage medium
  • Target object serialization method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0031] It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein can be practiced in sequences other than those illustrated or described herein. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consi...

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 relates to a target object serialization method and device, electronic equipment and a storage medium, and the method comprises the steps: obtaining a to-be-serialized target object; generating a conversion protocol according to the structure information of the target object; generating a conversion function according to a keyword in the conversion protocol and the data type of the value of the keyword; and serializing the target object according to the conversion function. According to the method, the conversion protocol is generated according to the structure information of thetarget object, the conversion protocol comprises the keyword of the target object and the data type of the value of the keyword, a developer is prevented from identifying the keyword of the target object and the data type of the value of the keyword, the labor cost is saved, and the conversion function is generated according to the conversion protocol; the conversion function is used for executing serialization on the target object, the automatic execution process of target object serialization is achieved, and the efficiency of target object serialization is improved.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a serialization method, device, electronic equipment and storage medium of a target object. Background technique [0002] JSON (JavaScript Object Notation) is a lightweight data exchange format. It is based on a subset of the JavaScript (Standard ECMA-2623rd Edition-December1999) scripting language. JSON uses a text format that is completely language-independent, but also uses conventions similar to the C language family (including C, C++, C#, Java, JavaScript, Perl, Python, etc.). These properties make JSON an ideal data interchange language. Easy to read and write, but also easy to machine parse and generate. Serialization is the process of converting an object's state information into a form that can be stored or transmitted. [0003] In related technologies, when serializing JSON, due to the strong dynamics of JS, developers need to identify a large number ...

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): G06F9/448
CPCG06F9/4488
Inventor 陈泓硕
Owner BEIJING DAJIA INTERNET INFORMATION 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