com.fasterxml.jackson.databind

Class PropertyNamingStrategies.UpperCamelCaseStrategy

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    PropertyNamingStrategies


    public static class PropertyNamingStrategies.UpperCamelCaseStrategy
    extends PropertyNamingStrategies.NamingBase
    A PropertyNamingStrategy that translates typical camelCase Java property names to PascalCase JSON element names (i.e., with a capital first letter). In particular, the following translations are applied by this PropertyNamingStrategy.
    • The first lower-case letter in the Java property name is translated into its equivalent upper-case representation.
    This rules result in the following example translation from Java property names to JSON element names.
    • "userName" is translated to "UserName"
    See Also:
    Serialized Form

Copyright © 2008–2023 FasterXML. All rights reserved.