serialization Questions
2
Solved
I want to store a .NET object into Azure Blob Storage.
Currently I serialize it into an XML file using TextWriter (episodeList is the object I want serialized):
XmlAttributeOverrides overrides = ...
Ebullient asked 14/6, 2012 at 13:8
2
Previously, the serialization/deserialization methods used the type Item:
public class Item{}
Now I have a new class called ItemWrapper derived from Item with an additional property:
public cla...
Rebbeccarebe asked 14/8, 2014 at 16:46
4
We have data coming from 3rd party system and I have one class designed like this,
public class CollectionProperty
{
public string Name { get; set; }
public object Value { get; set; }
}
and my ...
Beitnes asked 10/12, 2020 at 13:42
11
Solved
We're randomly getting some very strange error logs. They don't happen on every page hit, even with the same parameters/actions/etc, and they don't seem repeatable, each one is different in its cra...
Leticialetisha asked 1/9, 2011 at 15:42
2
Solved
How can I serialize a class (with boost::serialization) that contains a boost::optional?
I.e. the following code will give an error when instantiated.
error C2039: 'serialize' : is not a member...
Placia asked 26/9, 2014 at 14:27
3
Solved
I would like to achieve resumable on-the-fly hash generation of some file being uploaded on the server. The files are big so I am using the update(byte[]) method of MessageDigest class (as describe...
Oliguria asked 1/8, 2012 at 10:51
5
Solved
I have a class. It has several properties lets say 10. Out of these 10, 3 are filled with data remaining 7 are blank.i.e. empty strings "" Used this link as reference. I would like only NON-NULL an...
Coffeepot asked 22/12, 2016 at 16:3
14
Solved
JsonProperty isn't overriding the default name jackson gets from the getter. If I serialize the class below with ObjectMapper and jackson I get
{"hi":"hello"}
As you can see the JsonProperty ann...
Unwept asked 29/9, 2015 at 11:45
10
Solved
I understood that anonymous types are marked private by the compiler and the properties are read-only. Is there a way to serialize them to xml (without deserialize) ? It works with JSON, how can I ...
Lapham asked 8/3, 2010 at 20:58
10
Solved
I would like to store data using google protocol buffers (another serialized format would work, too), and then have an UI to browse that data. Is there a C++ framework/API that would allow me to do...
Marek asked 17/5, 2011 at 14:14
4
Solved
I have a coredump with encoded protobuf data and I want to decode this data and see the content. I have the .proto file which defines this message in raw protocol buffer.
My proto file looks like ...
Runaway asked 27/1, 2016 at 22:50
4
Solved
I am new to Django Rest Framework. Using serializer and views a simple CRUD is easy. When the logics increase, it is quite confusing where to write logics in serializer or views.
Some developers do...
Cockade asked 7/8, 2019 at 5:49
3
Solved
I have a org.json.JSONObject object.
What's the easiest way to create a gson.JsonObject object from it?
Thanks
Giltzow asked 6/8, 2015 at 22:29
3
Solved
After knowing Kotlin, love the data class.
I could replace Java classes that has equal and hash and toString to it.
Most of these Java classes are serializable class. So my question is, when we con...
Sarinasarine asked 16/4, 2020 at 1:15
4
Solved
A web service is returning an object defined by the WSDL to be:
<s:complexType mixed="true"><s:sequence><s:any/></s:sequence></s:complexType>
When I print out this ...
Cranio asked 31/1, 2012 at 13:23
7
Solved
In Spring Boot 1.2.3.RELEASE with fasterxml what is the correct way of serializing and de-serializing a LocalDate field to ISO date formatted string?
I've tried:
spring.jackson.serialization.write...
Backfield asked 16/6, 2015 at 14:58
3
I'm having a problem in which jackson is deserializing numeric values into arbitrary types which I cannot predict. For example, if someone passes the value "14", jackson will instantiate it as an I...
Walburga asked 24/10, 2016 at 8:41
4
Solved
I'm using the Jackson library.
I want to ignore a specific field when serializing/deserializing, so for example:
public static class Foo {
public String foo = "a";
public String bar = "b";
@J...
Ablaut asked 3/1, 2012 at 20:45
4
Solved
I have a struct containing a byte array that I would like to serialize and deserialize to and from binary, but it only works for arrays up to 32 elements.
Here is my minimal example code
main.rs:
#...
Stopping asked 14/2, 2018 at 7:45
7
Solved
This is the bill_info table, for which i need to serialized row no like 1 2 . . . . . . . . . . . . .n
There is data list returned, how I can get serial_no custom field in datatable list view.
...
Chela asked 8/2, 2017 at 8:57
7
I get a transmission over the network that's an array of chars/bytes. It contains a header and some data. I'd like to map the header onto a struct. Here's an example:
#pragma pack(1)
struct Heade...
Muth asked 6/2, 2009 at 11:15
6
Solved
I have a class with an internal list. I don't want the user of this class to be able to interact with the list directly, since I want to both keep it sorted and to run a calculation (which depends ...
Pegeen asked 9/12, 2014 at 19:20
3
I'm having a heck of a time adding Kotlin serialization to a new Android project. I'm using Android Studio Chipmunk | 2021.2.1 Patch 2.
When I add the plugin to the project-level build.gradle (see ...
Giddy asked 26/8, 2022 at 14:12
4
Solved
Is it possible to serialize / deserialize flatbuffers to and from JSON?
What I really want to do is to save flatbuffers as JSON, allow people to change whatever value they want, then read back JSO...
Composition asked 11/1, 2018 at 21:17
5
Solved
I'm working on a protocol in which the receiver will receive json messages of certain specified custom types (currently 5, but could be 10-20). I'm struggling to come up with an optimal/fast soluti...
Peppel asked 31/7, 2016 at 1:29
1 Next >
© 2022 - 2024 — McMap. All rights reserved.