WriteOptionsBuilder
doNotWritePrivateEnumFields()
forceMapOutputAsKeysAndItems()
forceTypeInformation()
skipNullFields()
withClassLoader(ClassLoader classLoader)
withCustomTypeName(Class type, String newTypeName)
withCustomTypeName(String type, String newTypeName)
withCustomTypeNameMap(Map<String,String> map)
withCustomWriter(Class c, JsonWriter.JsonClassWriter writer)
withCustomWriterMap(Map<Class,JsonWriter.JsonClassWriter> map)
withDateFormat(String format)
withDefaultOptimizations()
withFieldNameBlackList(Class c, List<String> fields)
withFieldNameBlackListMap(Map<Class,List<String>> map)
withFieldSpecifier(Class c, List<String> fields)
withFieldSpecifiersMap(Map<Class,List<String>> map)
withIsoDateFormat()
withIsoDateTimeFormat()
withNonCustomizableClass(Class c)
withNonCustomizableClasses(Collection<Class> collection)
withNoTypeInformation()
withPrettyPrint()
withShortMetaKeys()
writeEnumsAsPrimitive()
writeLongsAsStrings()