Searched refs:_lcWithUndescoreMapper (Results 1 – 1 of 1) sorted by relevance
175 private ObjectMapper _lcWithUndescoreMapper; field in TestNamingStrategyStd181 _lcWithUndescoreMapper = new ObjectMapper(); in setUp()182 _lcWithUndescoreMapper.setPropertyNamingStrategy(PropertyNamingStrategy.SNAKE_CASE); in setUp()208 … String json = _lcWithUndescoreMapper.writeValueAsString(new PersonBean("Joe", "Sixpack", 42)); in testLowerCaseTranslations()212 PersonBean result = _lcWithUndescoreMapper.readValue(json, PersonBean.class); in testLowerCaseTranslations()221 …String json = _lcWithUndescoreMapper.writeValueAsString(new Acronyms("world wide web", "http://jac… in testLowerCaseAcronymsTranslations()225 Acronyms result = _lcWithUndescoreMapper.readValue(json, Acronyms.class); in testLowerCaseAcronymsTranslations()234 …String json = _lcWithUndescoreMapper.writeValueAsString(new OtherNonStandardNames("Results", "_Use… in testLowerCaseOtherNonStandardNamesTranslations()238 …OtherNonStandardNames result = _lcWithUndescoreMapper.readValue(json, OtherNonStandardNames.class); in testLowerCaseOtherNonStandardNamesTranslations()248 …String json = _lcWithUndescoreMapper.writeValueAsString(new UnchangedNames("from_user", "_user", "… in testLowerCaseUnchangedNames()[all …]