=== Marshaling / Unmarshalling objects in native mode

When marshaling / unmarshalling objects in native mode, their target types must be link:https://quarkus.io/guides/writing-native-applications-tips#registering-for-reflection[registered for reflection].

For example when using any of the following:

* `GsonDataFormat.setUnmarshalType(MyPojo.class)`
* `GsonDataFormat.setUnmarshalTypeName("org.acme.MyPojo")`
* `GsonDataFormat.setUnmarshalGenericType(MyPojo.class)`

`MyPojo.class` can be registered for reflection as follows.

[source,java]
----
package org.acme.MyPojo;

@RegisterForReflection
public class MyPojo {
}
----
