Top "Marshalling" questions

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

How to add DOCTYPE and xml processing instructions when marshalling with JAXB?

I am marshalling (serializing) JAXB beans to output stream. How can I add DOCTYPE declaration and xml processing instructions to …

java xml jaxb marshalling
C++: Getting the c3859 error code while compiling in a mix of C++/CLI and C++

After I have done as suggested by Hans Passant in C++: Getting the "error C2065: 'pst' : undeclared identifier" while using …

c++ c++-cli marshalling unmanaged
How can I prevent CompileAssemblyFromSource from leaking memory?

I have some C# code which is using CSharpCodeProvider.CompileAssemblyFromSource to create an assembly in memory. After the assembly has …

c# memory-leaks marshalling appdomain compileassemblyfromsource
Can I use SafeHandle instead of IntPtr?

I've searched the internet far and wide but didn't find a good explanation. My question is pretty simple. I have …

c# pinvoke marshalling handle
Handling nested elements in JAXB

I am wondering if it is possible to have JAXB not to create Java object for XML elements that serve …

java jaxb marshalling
Marshall array of structures

I've spent a lot of time to look for the solution but still don't find it out. I have 2 classes: […

c# .net structure marshalling
When to use ReleaseComObject vs FinalReleaseComObject?

When should I use Marshal.FinalReleaseComObject vs Marshal.ReleaseComObject? Is there any danger in using Marshal.FinalReleaseComObject?

c# com marshalling
What's the difference between JAXB annotations put on getter versus setters versus members?

Title says it all. I would like to know what is the principial difference between putting JAXB annotation (like @XmlElement) …

java xml jaxb marshalling unmarshalling
How do I serialize & deserialize CSV properly?

I've been trying to serialize an object to a CSV String but the object contains a List and @JsonUnwrapped doesn't …

java csv marshalling unmarshalling jackson-dataformat-csv
Is there a package to marshal in and out of x-www-form-urlencoding in golang

I would like to marshal in and out of x-www-form-urlencoding similar to how you can do it with json or …

go marshalling urlencode unmarshalling