Information conversion method and device
The embodiment of the invention discloses an information conversion method and device. The method and device are used for efficiently performing conversion between Json character strings and objects.The method includes the steps of acquiring the Json character strings; determining whether or not the...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses an information conversion method and device. The method and device are used for efficiently performing conversion between Json character strings and objects.The method includes the steps of acquiring the Json character strings; determining whether or not the objects into which the Json character strings are converted belong to preset objects, wherein thepreset objects include non-caseclass objects; if yes, converting the Json character strings into Java character strings; converting the Java character strings into the objects; outputting the objectsinto which the Java character strings are converted. By means of the method of the embodiment, a user firstly converts the Json character strings into the Java character strings and then converts theJava character strings into the objects. Since the conversion from the Java character strings into the objects is easy to implement, the user does not need to write a large number of codes, and high-efficiency execution of the c |
---|