/** * Set the option to include the "class" field when reflecting over objects, * the default for this is false (do not include) * @param includeClassField if true then include the value from the "getClass()" method as "class" when encoding beans and maps */ public void setIncludeClassField(boolean includeClassField) { getClassDataCacher().setIncludeClassField(includeClassField); }
/** * Set the option to include the "class" field when reflecting over objects, * the default for this is false (do not include) * @param includeClassField if true then include the value from the "getClass()" method as "class" when encoding beans and maps */ public void setIncludeClassField(boolean includeClassField) { getClassDataCacher().setIncludeClassField(includeClassField); }