Skip to main content

Questions tagged [serialization]

Serialization is the process by which data-structures are converted into a format that can be easily stored or transmitted and subsequently reconstructed.

Filter by
Sorted by
Tagged with
Advice
0 votes
2 replies
25 views

I'm working on an experimental project called NextLiber VRM, which attempts to interpret Unity scene files outside the Unity runtime. Unity stores scenes in YAML format, including transforms, ...
Akito Hayasaka's user avatar
2 votes
1 answer
122 views

I am currently working on a small financial management application and use XmlSerializer to persist my data. I maintain a main list (allRecords) holding all data, and two separate lists (incomeList ...
David's user avatar
  • 23
0 votes
0 answers
34 views

AMD Processor Programming Reference (PPR) for AMD Family 19h Model 70h, Revision A0 Processors says: MSR0000_010B [Flush Command] (Core::X86::Msr::FLUSH_CMD) Writes to this register do not execute ...
Akon's user avatar
  • 471
2 votes
1 answer
68 views

I am trying to get the label attached to the relevant interger for the choice field. Although the API returns the interger, I cannot seem to be able to return the actual label value. This is the ...
PhilM's user avatar
  • 437
1 vote
1 answer
254 views

I want to use polymorphic JSON for the RichText type in .NET 10 because I plan migrating from one richtext format to another and I am stuck with a problem: when the object is automatically serialized ...
Sannnekk's user avatar
  • 103
-1 votes
1 answer
56 views

I'm encountering a serialization error when building a Unity project for UWP and running it in Visual Studio: ...
Gabriel Alabi's user avatar
1 vote
1 answer
241 views

After adding the dependency org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0 I tried using it like this: ...
SMBiggs's user avatar
  • 11.8k
0 votes
1 answer
49 views

I'm using confluent's KafkaAvroSerializer with a schema that includes a nullable timestamp-millis field. The field maps to Instant in Java, but when I send a non-...
John Leon's user avatar
1 vote
1 answer
121 views

I'm upgrading from protobuf-net 2.2.1.0 to 3.2.26, and I've noticed that callback methods decorated with [ProtoBeforeSerialization] and [ProtoAfterDeserialization] are no longer invoked during ...
Sudheer Kumar's user avatar
7 votes
1 answer
155 views

I stumbled upon something that got me curious. Apparently, serializing a record with a cyclic reference does not retain the cycle when deserializing it again, it becomes ...
Zabuzard's user avatar
  • 26.3k
0 votes
0 answers
105 views

I’m embedding a small UI with pywebview and want Python to JS live updates. I created a GPSSpoofingDetector class that loads a ...
Ahsan914's user avatar
0 votes
0 answers
76 views

My StrickMode and Ktor HttpClient setup on Android ...
Dino Tw's user avatar
  • 3,331
1 vote
1 answer
94 views

I have a model based on AnyLogic and tried to serialize it, but receive an StackOverflow error. As I understand the main reason is a circular agent reference. I can't find it however. I tried to ...
Yura's user avatar
  • 75
3 votes
1 answer
183 views

I would like to solve the following problem with Pydantic (latest version), with Python 3.x. While deserializing, I want to use the field "path", path contains another array that I want to ...
Josh.h's user avatar
  • 115
1 vote
1 answer
44 views

When writing a multi-process program for web scraping, I passed an object of my custom  RedisQueue  class as an argument to the multi-process task function. This class contains a Redis object as one ...
PastLives's user avatar
1 vote
2 answers
82 views

In my Flink app, I found this log: ...
Marco's user avatar
  • 54
1 vote
1 answer
107 views

I'm trying to output xml to input into a 3rd party library that needs the following format (simplified & without xml declaration) ...
BKM's user avatar
  • 13
2 votes
1 answer
152 views

I'm deserializing interfaces mapped to usual classes with a custom IJsonTypeInfoResolver. The resolver looks similar to this: ...
tris's user avatar
  • 1,109
0 votes
0 answers
73 views

I'm using a custom technique for super easy JSON decoding, using abstract getters/setters and noSuchMethod override. However the pragma to prevent obfuscation works with getters but not with setters. ...
Patrick's user avatar
  • 3,817
0 votes
1 answer
353 views

I want to use JSON to serialize and deserialize a complex Python object. This Python object contains other Python objects that may be implementations of a protocol or descend from a common abstract ...
Green 绿色's user avatar
  • 3,293
2 votes
2 answers
114 views

In this thread, (de-)serializing a nested polymorphic object is described for open (runtime) polymorphism. How can the same be achieved for closed (static) polymorphism? That is, how can a ...
Noah's user avatar
  • 3,567
1 vote
2 answers
121 views

I am trying to load data from Java object streams from another application. Since I do not have access to the source code of that application, I used jdeserialize to extract the class definitions from ...
uli's user avatar
  • 111
0 votes
0 answers
41 views

I am working with XML serialization in C# where I have multiple versions of a message class that inherit from each other. Here’s a simplified version of my code: ...
Yash2304's user avatar
0 votes
1 answer
204 views

What happens to the model's eager-loaded relationship when the model is passed to another Job's dispatch method? Context: There is a job that retrieves all ...
ssrsvn's user avatar
  • 33
1 vote
1 answer
84 views

I'm trying to serialize and compress a std::map using Boost. Here's the serialization code: ...
Setu's user avatar
  • 1,086
1 vote
0 answers
372 views

I am using MessagePack version 3.1.4 for binary serialization/deserialization. With the most basic code and decorating my fields/properties with the Key attribute: ...
Yannick's user avatar
  • 333
2 votes
2 answers
184 views

I need to deserialize JSON body of POST method into list of objects. So I have next quarkus service: ...
sankranti's user avatar
3 votes
1 answer
407 views

I'm learning Zig and I'm trying to write a generic function that automatically serializes any struct into JSON. In languages like Rust or Go, there are libraries that can iterate over the fields of a ...
Ronika Kashyap's user avatar
1 vote
1 answer
74 views

I am trying to use RestSharp to deserialize a JSON return into C# classes. The return sometimes contains a single, empty object when the data definition calls for an array of objects. If there is ...
Grant Fish's user avatar
1 vote
0 answers
90 views

I've tried to use kotlinx.serialization with the third party Yaml plugin from @charleskorn. In the past I already did something with Python using pyyaml, where I explicitly set a custom ...
9Lukas5's user avatar
  • 91
0 votes
2 answers
80 views

imagine i have a super simple serializer.py file : and i just want to use it ! nothing special .. so im going to write something like this (with a model class called "Product") & its ...
Human's user avatar
  • 27
0 votes
0 answers
73 views

I have a basic ASP.NET Web API project. When I send a request, the serialization is done using System.Text.Json. However, when I send a non-valid json, for example ...
pietro's user avatar
  • 221
-1 votes
2 answers
122 views

I am trying to deserialize a JSON object: ...
SPlatten's user avatar
  • 5,915
0 votes
0 answers
196 views

I get the error System.IO.FileLoadException: 'Could not load file or assembly 'System.Runtime.Serialization.Formatters, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. Could not ...
E. A. Bagby's user avatar
2 votes
1 answer
158 views

I have a Maven parent POM that configures the Maven Compiler Plugin like this: ...
Garret Wilson's user avatar
0 votes
0 answers
80 views

I'm using Spring Boot (latest version). I have this 4 classes. SubtypeDTO inherits from abstract class TypeDTO, ClassUsingSubtype uses SubtypeDTO and ClassUsingType uses TypeDTO. I need all of them! <...
italktothewind's user avatar
2 votes
2 answers
137 views

Preamble: I know about ISerializable deprecation. We have to use it because we have massive legacy codebase for IPC (that uses this interface). We are migrating ...
bairog's user avatar
  • 3,593
1 vote
0 answers
62 views

I need to deserialize a JSON data containing list of players into a regular List<> type (in C#). My code is: ...
Krzysztof Tanaś's user avatar
1 vote
1 answer
62 views

I am trying to show quote on my app via an api. I have updated all the dependencies, plugins and libraries. I tried with a dummy api, the result was getting updated in the app then I tried with ...
Ajay Satpati's user avatar
4 votes
1 answer
53 views

Problem Details: I'm developing a C contact management system where each contact is stored as: ...
Z4KI'S HERE's user avatar
0 votes
1 answer
172 views

I am trying to serialize a model with a LocalDate into a BsonDateTime using Spring Data Mongo. This MongoDB guide for Kotlin ...
geppettodivacin's user avatar
0 votes
0 answers
81 views

Having trouble finding the right way to describe the issue to find a solution for it. But here's a quick rundown. I'm using Newtonsoft Json plugin for the following: A Json is being deserialized based ...
Vlad SD's user avatar
  • 323
0 votes
1 answer
55 views

I'm experiencing inconsistent behavior between Apache Beam's DirectRunner (local) and DataflowRunner (GCP) when using ...
Nihal sharma's user avatar
0 votes
0 answers
105 views

The Goal I am working on a project where we have id's comming back from the server in a format that is a prefix followed by a guid (prefix_{guid}). This is so that we know what the specific ID type is ...
Kayden Miller's user avatar
0 votes
0 answers
83 views

I'm working on a multi-client homomorphic encryption system using OpenFHE. Client A serializes the crypto context, keys, and ciphertexts using OpenFHE's ...
sidesh's user avatar
  • 1
3 votes
0 answers
124 views

I have a code that tries to deserialize a json response into a struct, the struct is like this: ...
Pedro Afonso Silva Da Costa's user avatar
0 votes
2 answers
49 views

For a Python3.13 project, I'm interested in objects created by Enum (e.g. MyEnum.VALUE); I need to serialize them ‘manually’ (=no ...
suizokukan's user avatar
  • 1,379
0 votes
1 answer
109 views

I currently am trying to deserialize a JSON-object to a VB.NET-object. But I am not able to do that properly - but I guess I know the reason for it. Here is an example of my JSON-object: ...
blueshift's user avatar

1
2 3 4 5
671