add field case casing support for JsonBuilder

This commit is contained in:
kimchy 2010-04-09 15:36:43 +03:00
parent aa046cc18d
commit 49becdc384
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ public abstract class JsonBuilder<T extends JsonBuilder> {
private final static DateTimeFormatter defaultDatePrinter = ISODateTimeFormat.dateTime().withZone(DateTimeZone.UTC); private final static DateTimeFormatter defaultDatePrinter = ISODateTimeFormat.dateTime().withZone(DateTimeZone.UTC);
protected static FieldCaseConversion globalFieldCaseConversion = FieldCaseConversion.CAMELCASE; protected static FieldCaseConversion globalFieldCaseConversion = FieldCaseConversion.NONE;
public static void globalFieldCaseConversion(FieldCaseConversion globalFieldCaseConversion) { public static void globalFieldCaseConversion(FieldCaseConversion globalFieldCaseConversion) {
JsonBuilder.globalFieldCaseConversion = globalFieldCaseConversion; JsonBuilder.globalFieldCaseConversion = globalFieldCaseConversion;