Top "Serialization" questions

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

Best way to save a trained model in PyTorch?

I was looking for alternative ways to save a trained model in PyTorch. So far, I have found two alternatives. …

python serialization deep-learning pytorch tensor
Java: object to byte[] and byte[] to object converter (for Tokyo Cabinet)

I need to convert objects to a byte[] to be stored in the Tokyo Cabinet key-value store. I also need …

java serialization byte bytearray tokyo-cabinet
Is it possible to serialize and deserialize a class in C++?

Is it possible to serialize and deserialize a class in C++? I've been using Java for 3 years now, and serialization / …

c++ serialization
Is it possible to deserialize XML into List<T>?

Given the following XML: <?xml version="1.0"?> <user_list> <user> <id>1</id&…

c# serialization xml-serialization xml-deserialization
Serialize object to query string in JavaScript/jQuery

I'm trying to find information on how to serialize an object to query string format, but all my searches are …

javascript jquery serialization query-string
How do I serialize an object and save it to a file in Android?

Say I have some simple class and once it's instantiated as an object I want to be able to serialize …

android serialization file-io
Fastest way to serialize and deserialize .NET objects

I'm looking for the fastest way to serialize and deserialize .NET objects. Here is what I have so far: public …

c# .net serialization deserialization
Java serialization - java.io.InvalidClassException local class incompatible

I've got a public class, which implements Serializable, that is extended by multiple other classes. Only those subclasses were ever …

java serialization deserialization
When should we implement Serializable interface?

public class Contact implements Serializable { private String name; private String email; public String getName() { return name; } public void setName(String …

java serialization
Serializing/deserializing with memory stream

I'm having an issue with serializing using memory stream. Here is my code: /// <summary> /// serializes the given object …

c# serialization deserialization memorystream