Object serialization method and device

A serialization and object technology, applied in the Internet field, can solve problems such as inability to meet serialization requirements, and achieve the effect of flexible serialization results and flexible control

Active Publication Date: 2014-02-19
BEIJING GRIDSUM TECH CO LTD
View PDF5 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The main purpose of the present invention is to provide an object serialization method and device to solve the problem that the

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
  • Object serialization method and device
  • Object serialization method and device
  • Object serialization method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] It should be noted that the embodiments in the application and the features in the embodiments can be combined with each other if there is no conflict. Hereinafter, the present invention will be described in detail with reference to the drawings and in conjunction with the embodiments.

[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 described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of the embodiments of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.

[0025] It should be noted that the terms "first" an...

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 discloses an object serialization method and device. The object serialization method includes the steps that a target object is acquired; a Json object corresponding to the target object is built, wherein the Json object is a class used for operating the attribute of the target object; the target object is converted into the Json object; a serialization character string of the target object is generated through the Json object. Due to the object serialization method and device, rigid mapping between a serialization result and the target object in structure does not exist, and the sterilization result can be freely controlled.

Description

Technical field [0001] The present invention relates to the Internet field, in particular, to an object serialization method and device. 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 completely language-independent text format, but it also uses habits similar to the C language family (including C, C++, C#, Java, JavaScript, Perl, Python, etc.). These features make JSON an ideal data exchange language. It is easy for people to read and write, but also easy for machine to parse and generate. [0003] Serialization (Serialization) The process of converting the state information of an object into a form that can be stored or transmitted. During serialization, the object writes its current state to temporary or persistent storage. Later, you can recreate the object by reading or deserializing the state of the ...

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/44
Inventor 池雷
Owner BEIJING GRIDSUM 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