Skip to main content

Questions tagged [serialization]

Serialization is the process by which an object is converted into a format that can be stored and later retrieved.

1 vote
0 answers
40 views

Below is code for a front end calendar event element I have just finished. Though I have been programming in JavaScript for a while, this is the first time I have created a custom class and element, ...
ControlAltDel's user avatar
0 votes
0 answers
116 views

I wrote this to have ASP.NET MVC be able to respond as a web API as well as the normal MVC Razor pages. I wanted Newtonsoft deserialization for models based on already parsed values: ...
MPelletier's user avatar
5 votes
2 answers
658 views

Are the two function templates below well-formed for serializing/deserializing POD types? Will they work for all the different types that satisfy the constraint pod?...
digito_evo's user avatar
4 votes
1 answer
559 views

I have implemented an Iterator for my Pojo class. The purpose here is to lazily decode multiple ...
William's user avatar
  • 141
3 votes
1 answer
150 views

I have written this code for serializing and deserializing integer and floating point numbers to/from vector/array of bytes. The aim of the code is to provide a simple interface to use, but make it as ...
GameRaccoon's user avatar
2 votes
1 answer
163 views

A while ago I posted the code for this library I'm working on, and have refactored the code quite a bit ever since. I would appreciate any feedback in regards to what I have so far to see what can I ...
Nitram's user avatar
  • 65
7 votes
2 answers
2k views

I tried to serialize a doubly linked list. Can you rate it, and what could be improved? I open the file with fopen(path, "wb") and write all data in ...
Denisych's user avatar
5 votes
2 answers
191 views

Motivation When working with storage or wire protocols, we often read or write structures containing integers with specific byte-ordering (e.g. big-endian for Internet Protocol, or little-endian for ...
Toby Speight's user avatar
  • 88.7k
2 votes
1 answer
130 views

Motivation When working with storage or wire protocols, we often read or write structures containing integers with specific byte-ordering (e.g. big-endian for Internet Protocol, or little-endian for ...
Toby Speight's user avatar
  • 88.7k
4 votes
2 answers
1k views

I'm trying to make a simple library for de/serialization in c++, but I know it can be tricky to implement, so I'd really like to have my code reviewed to see if there's anything that stands out and/or ...
Nitram's user avatar
  • 65
4 votes
1 answer
433 views

Ensuring that some logic is always being run before the user's overriding methods. I'm writing a library and I have some abstract classes that can be binary serialized (and users can subclass them and ...
Saturn's user avatar
  • 409
-2 votes
1 answer
629 views

I want to serialize a C++ class Ramdomclass . Below is the serialization function. ...
Sebastian Orteho's user avatar
0 votes
1 answer
570 views

I want to serialize a class Mango recursively. ...
James_sheford's user avatar
3 votes
1 answer
530 views

Integers need to be converted to a byte array of defined endianness to be reliably and consistently saved and transmitted, and converted back to be accurately received and read. The goal is to be as ...
CPlus's user avatar
  • 1,467
4 votes
1 answer
214 views

I wrote some code and thought I may get better with some feedback. I program for almost 5 years, mainly in python. I care most about the unit testing. I am not really sure, how industry standard unit ...
Cjw9000's user avatar
  • 41

15 30 50 per page
1
2 3 4 5
20