Object deserialization method and device

A deserialization and object technology, applied in the Internet field, can solve the problem of mismatch between Json strings and target objects

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

AI Technical Summary

Problems solved by technology

[0007] The main purpose of the present invention is to provide an object deserialization method and device to

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and examples.

[0026] The embodiment of the present invention provides an object deserialization device, and the function of the device can be realized by computer equipment.

[0027] figure 1 is a schematic structural diagram of an object deserialization device according to the first embodiment of the present invention. Such as figure 1 As shown, the object deserialization apparatus includes a first acquisition unit 10 , a creation unit 20 , a transformation unit 30 and a generation unit 40 .

[0028] The first acquiring unit 10 is used to acquire the target character string.

[0029] The target string contains the key attributes of the object generated by deserialization. For example, when the object is...

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 deserialization method and device. The method includes: acquiring target character strings; creating the Json objects corresponding to the target character strings; converting the target character strings into the Json objects; generating the objects of the character strings according to the Json objects; wherein the Json objects are categories which have Json attributes and used for setting operations. By the method, mismatching of Json character string contents and target objects can be avoided, the deserialization failure caused by the mismatching can be avoided, and deserialization can be performed successfully.

Description

technical field [0001] The present invention relates to the Internet field, in particular to an object deserialization 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 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 for humans to read and write, but also easy for machines to parse and generate. [0003] Serialization is the process of converting an object's state information into a form that can be stored or transmitted. During serialization, an object writes its current state to temporary or persistent storage. Later, the object can be recreated by reading or deserializing the object's state...

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