Most voted "serialization" questions
In the context of data storage and transmission, serialization is the process of saving an object on a storage medium (such as a computer file or memory buffer) or transmitting it over a network connection, either in binary form or in text format such as XML. This byte series can be used to recreate an object with the same internal state as the original.
Learn more…72 questions
Sort by count of
-
0
votes2
answers80
viewsSerialize xml output to class
I have the following list of XML data: <xml> <cnt>7469</cnt> <emails> <item> <to_email>[email protected]</to_email> <id>3352143303</id>…
-
0
votes1
answer1163
viewsProblem with accents in . serialize()
The .serialize(); takes all form information, but with different accents ex: LOAF stays P%C3%83O , when I test the app on localhost the accents work right but when hospedo gets like this BREAD ??? I…
-
0
votes1
answer158
viewsHow the PHP include function works behind the scenes
Let’s say I have two pages, one call teste.php and the other teste2.php. On the page teste.php I have the following code: ... $usuario = new Usuario(); $usuarios = $usuario->getUsuarios(); ...…
-
0
votes1
answer206
viewsSave objects to Java file
I have the following code: package p10; import java.io.*; import java.util.*; import myinputs.Ler; public class P10 { public static boolean verificawl (int i) throws ExcecaoWhile {…
-
0
votes1
answer87
viewsProblems serializing object to XML
After serializing an object to XML some properties disappear. These objects were automatically generated with the add and do not have [System.xml.Serialization.Xmlignoreattribute()] but are not…
-
0
votes1
answer424
viewsClass Order to Serialize C Object#
I am working on an Nfe project, and have chosen to use serialization of a class based on the xml structure I want. I implemented the class, everything worked as expected, root, nodes etc, but I have…
-
0
votes1
answer43
viewsthe serialVersionUID of has to be the same in all classes "Serializable"?
I already have some notion about the serialVersionUID representing the class version (in bytes form) very objectively. But the version number can or should be the same in different classes ?
-
0
votes1
answer49
viewsSerialization Mormot Object with Arraydinamico
type TRecordInstructions = record TextInstructions : RawUTF8; end; TArrayInstructions = array of TRecordInstructions; type TDoctoVO = class private p_customer : Integer; p_messages : RawUTF8;…
-
0
votes1
answer184
viewsHow to pass the received data from an activity and put it into a recyclerview
Hello, I’m beginner in java programming and I’m having trouble passing some serialized information from an activity to a recyclerview. When the second activity is started it brings no information.…
-
0
votes2
answers1546
viewsPicking input values from a given form
I have the following scenario: Several forms, but I need to set all inputs only of the form that is in action, which is triggered by the button. function enviaForm(id){ $(id).submit(function(){ var…
-
0
votes0
answers105
viewsHow to use EF Core with inheritance correctly and capture foreign key objects?
I’m using the Entity Framework Core, and I have a model that uses heritage. I use the TPH (Table Per Hierarchy) pattern that maps all classes of the same super class in the same table and uses a…
json serialization .net-core entity-framework-coreasked 6 years, 10 months ago Douglas Ferreira 101 -
0
votes1
answer77
viewsI cannot use Jsonconverter in Json.Net with Unity
So I’m developing a visual programming system in FSM, and for serialization, I used Json.Net, until then, all right, it worked correctly, however, I had to serialize UnityObjects And things got…
-
0
votes1
answer27
viewsSerielize() jquery does not save variables
I’m not able to record the variables with jquery serialize(), esotu doing so, what would be the problem? //Executa em cada form: $('.formAjax').on("submit",function() { // Pegar o ID do formulário…
-
0
votes0
answers86
viewsProblem when serializing an object
I’m trying to use serialization to transfer data between Server and Client. However, I am having trouble trying to deserialize a class that has a type List of another class, when the class to be…
-
0
votes1
answer146
viewsSerialize in flask-marshmallow with relationship
I’m using the flask-marshmallow to make the serialize in my project. Along with it I am using flask-sqlalchemy for mapping my tables. Follows the structure: models/Area.py: config.database import db…
-
0
votes2
answers59
viewsSerialize to different objects in C#
How I have to create my class in C# to be able to serialize this json that comes in a request for my API? [{ "name": "campo_normal_1", "value": "valor do campo 1 normal" }, { "name":…
-
-1
votes1
answer98
viewsHow to concatenate serialized data from a form to the javascript string?
How can I concatenate a serialized data variable var dados = $(form).serialize(); with a second variable, for example var x ="2222"? Thank you for your attention! Horatio…
-
-1
votes1
answer27
viewsHow to read an object from a file?
Personal when I try to read the objects saved in a file appears the following error message. Nome: Gabriel Código: 123 Telefone: 12345678 java.io.StreamCorruptedException: invalid type code: AC at…
-
-1
votes1
answer63
viewsTransition of activities with serializable classes (getIntent problem)
I have a problem while passing a serializable class. I insert it into the Bundle as follows. public void voltarMain(View view) { Intent myIntent = new Intent(getApplicationContext(),…
android android-activity nullpointerexception serialization android-intentasked 4 years, 12 months ago Filipe Torres 1 -
-2
votes2
answers202
viewsWhat is the purpose of serialization?
What is the purpose of the serialization of objects?
-
-2
votes2
answers668
viewsI can’t parse json with brackets in c#
I am using the Newtonsoft.Json.Linq library to parse json in c#. Until now it worked beauty, when I have a string json like this: { 'chave':'valor' } But when I have a json like this: [ {…
-
-4
votes2
answers387
viewsSave atomatic in PHP does not work with Success and serialization
A code that performs the autosave of data on a form works so: autosave.php <?php require_once '../multiinjet/web/includes/configuracao.php'; try { /*Pegar valores postados no formulário*/…