Searched refs:PropertyNamingStrategy (Results 1 – 19 of 19) sorted by relevance
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/ |
D | TestNamingStrategyStd.java | 80 @JsonNaming(PropertyNamingStrategy.LowerCaseStrategy.class) 182 _lcWithUndescoreMapper.setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE); in setUp() 199 String translatedJavaName = PropertyNamingStrategy.SNAKE_CASE.nameForField(null, null, in testLowerCaseStrategyStandAlone() 273 …assertEquals("UserName", PropertyNamingStrategy.UPPER_CAMEL_CASE.nameForField(null, null, "userNam… in testPascalCaseStandAlone() 274 … assertEquals("User", PropertyNamingStrategy.UPPER_CAMEL_CASE.nameForField(null, null, "User")); in testPascalCaseStandAlone() 275 … assertEquals("User", PropertyNamingStrategy.UPPER_CAMEL_CASE.nameForField(null, null, "user")); in testPascalCaseStandAlone() 276 assertEquals("X", PropertyNamingStrategy.UPPER_CAMEL_CASE.nameForField(null, null, "x")); in testPascalCaseStandAlone() 278 …assertEquals("BADPublicName", PropertyNamingStrategy.UPPER_CAMEL_CASE.nameForField(null, null, "bA… in testPascalCaseStandAlone() 279 …assertEquals("BADPublicName", PropertyNamingStrategy.UPPER_CAMEL_CASE.nameForGetterMethod(null, nu… in testPascalCaseStandAlone() 286 .setPropertyNamingStrategy(PropertyNamingStrategy.UPPER_CAMEL_CASE) in testIssue428PascalWithOverrides() [all …]
|
D | TestNamingStrategyCustom.java | 9 import com.fasterxml.jackson.databind.PropertyNamingStrategy; 27 static class PrefixStrategy extends PropertyNamingStrategy 51 static class CStyleStrategy extends PropertyNamingStrategy 140 static class LcStrategy extends PropertyNamingStrategy.PropertyNamingStrategyBase
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | PropertyNamingStrategy.java | 30 public class PropertyNamingStrategy // NOTE: was abstract until 2.7 class 40 public static final PropertyNamingStrategy SNAKE_CASE = new SnakeCaseStrategy(); 49 public static final PropertyNamingStrategy UPPER_CAMEL_CASE = new UpperCamelCaseStrategy(); 59 public static final PropertyNamingStrategy LOWER_CAMEL_CASE = new PropertyNamingStrategy(); 68 public static final PropertyNamingStrategy LOWER_CASE = new LowerCaseStrategy(); 77 public static final PropertyNamingStrategy KEBAB_CASE = new KebabCaseStrategy(); 86 public static final PropertyNamingStrategy LOWER_DOT_CASE = new LowerDotCaseStrategy(); 178 public static abstract class PropertyNamingStrategyBase extends PropertyNamingStrategy 438 … public static final PropertyNamingStrategy CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES = SNAKE_CASE; 444 public static final PropertyNamingStrategy PASCAL_CASE_TO_CAMEL_CASE = UPPER_CAMEL_CASE;
|
D | Module.java | 357 public void setNamingStrategy(PropertyNamingStrategy naming); in setNamingStrategy()
|
D | ObjectMapper.java | 990 public void setNamingStrategy(PropertyNamingStrategy naming) { in registerModule() 1655 public ObjectMapper setPropertyNamingStrategy(PropertyNamingStrategy s) { 1664 public PropertyNamingStrategy getPropertyNamingStrategy() {
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/annotation/ |
D | JsonNaming.java | 5 import com.fasterxml.jackson.databind.PropertyNamingStrategy; 27 public Class<? extends PropertyNamingStrategy> value() default PropertyNamingStrategy.class; in value()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/cfg/ |
D | BaseSettings.java | 58 protected final PropertyNamingStrategy _propertyNamingStrategy; 146 PropertyNamingStrategy pns, TypeFactory tf, in BaseSettings() 166 PropertyNamingStrategy pns, TypeFactory tf, in BaseSettings() 236 public BaseSettings withPropertyNamingStrategy(PropertyNamingStrategy pns) { in withPropertyNamingStrategy() 356 public PropertyNamingStrategy getPropertyNamingStrategy() { in getPropertyNamingStrategy()
|
D | HandlerInstantiator.java | 139 public PropertyNamingStrategy namingStrategyInstance(MapperConfig<?> config, in namingStrategyInstance()
|
D | MapperConfig.java | 245 public final PropertyNamingStrategy getPropertyNamingStrategy() { in getPropertyNamingStrategy()
|
D | MapperBuilder.java | 382 public B propertyNamingStrategy(PropertyNamingStrategy s) {
|
D | MapperConfigBase.java | 456 public final T with(PropertyNamingStrategy pns) { in with()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/ |
D | POJOPropertiesCollector.java | 350 PropertyNamingStrategy naming = _findNamingStrategy(); in collectAll() 894 PropertyNamingStrategy naming) in _renameUsing() 1147 private PropertyNamingStrategy _findNamingStrategy() in _findNamingStrategy() 1153 if (namingDef instanceof PropertyNamingStrategy) { in _findNamingStrategy() 1154 return (PropertyNamingStrategy) namingDef; in _findNamingStrategy() 1165 if (namingClass == PropertyNamingStrategy.class) { in _findNamingStrategy() 1169 if (!PropertyNamingStrategy.class.isAssignableFrom(namingClass)) { in _findNamingStrategy() 1175 PropertyNamingStrategy pns = hi.namingStrategyInstance(_config, _classDef, namingClass); in _findNamingStrategy() 1180 return (PropertyNamingStrategy) ClassUtil.createInstance(namingClass, in _findNamingStrategy()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/ |
D | ImplicitParamsForCreator806Test.java | 42 .setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE)
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/ |
D | CreatorWithNamingStrategyTest.java | 42 .setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE)
|
D | TestCreatorWithNamingStrategy556.java | 61 .setPropertyNamingStrategy(PropertyNamingStrategy.UPPER_CAMEL_CASE)
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/module/ |
D | SimpleModule.java | 92 protected PropertyNamingStrategy _namingStrategy = null; 258 protected SimpleModule setNamingStrategy(PropertyNamingStrategy naming) { in setNamingStrategy()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/format/ |
D | EnumFormatShapeTest.java | 149 .propertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE) in testEnumWithNamingStrategy()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ext/ |
D | ExternalTypeCustomResolverTest.java | 416 .propertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE)
|
/external/jackson-databind/release-notes/ |
D | VERSION-2.x | 1101 #909: Rename PropertyNamingStrategy CAMEL_CASE_TO_LOWER_CASE_WITH_UNDERSCORES as SNAKE_CASE, 1337 #815: Presence of PropertyNamingStrategy Makes Deserialization fail 1604 #428: `PropertyNamingStrategy` will rename even explicit name from `@JsonProperty` 1617 #461: Add new standard naming strategy, `PropertyNamingStrategy.LowerCaseStrategy` 1964 * [Issue#64]: Add new "standard" PropertyNamingStrategy, PascalCaseStrategy 1965 (PropertyNamingStrategy.PASCAL_CASE_TO_CAMEL_CASE) 1994 * [Issue#45]: Add '@JsonNaming' annotation to define per-class PropertyNamingStrategy
|