Top "Marshalling" questions

Marshalling is the process of transforming the memory representation of an object to a data format suitable for storage or transmission

Remove namespace prefix while JAXB marshalling

I have JAXB objects created from a schema. While marshalling, the xml elements are getting annotated with ns2. I have …

namespaces jaxb marshalling prefix
Cannot unmarshal string into Go value of type int64

I have struct type tySurvey struct { Id int64 `json:"id,omitempty"` Name string `json:"name,omitempty"` } I do json.Marshal …

json go marshalling unmarshalling
Can I force JAXB not to convert " into ", for example, when marshalling to XML?

I have an Object that is being marshalled to XML using JAXB. One element contains a String that includes quotes ("). …

java jaxb xml-serialization marshalling html-entities
JAXB Marshalling with null fields

This is a pretty simple request, but I just didn't find a way to do it. I'm basically trying to …

java jaxb marshalling
WinApi - GetLastError vs. Marshal.GetLastWin32Error

I tested a lot. But I found no disadvantages of those 2! But see the accepted answer. I read here that …

c# winapi marshalling unmanaged managed
Reading a C/C++ data structure in C# from a byte array

What would be the best way to fill a C# struct from a byte[] array where the data was from …

c# .net data-structures marshalling
Marshaling – what is it and why do we need it?

What is marshalling and why do we need it? I find it hard to believe that I cannot send an …

c# .net unmanaged marshalling managed
Json <-> Java serialization that works with GWT

I am looking for a simple Json (de)serializer for Java that might work with GWT. I have googled a …

json serialization gwt marshalling javabeans
Why does JAXB need a no arg constructor for marshalling?

If you try to marshal a class which references a complex type that does not have a no-arg constructor, such …

java xml jaxb marshalling
JAXB creating context and marshallers cost

The question is a bit theoretical, what is the cost of creating JAXB context, marshaller and unmarshaller? I've found that …

java jaxb marshalling