com.fasterxml.jackson.databind

Class PropertyNamingStrategy.PascalCaseStrategy

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    PropertyNamingStrategy


    public static class PropertyNamingStrategy.PascalCaseStrategy
    extends PropertyNamingStrategy.PropertyNamingStrategyBase
    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"
    Since:
    2.1
    See Also:
    Serialized Form
    • Constructor Detail

      • PropertyNamingStrategy.PascalCaseStrategy

        public PropertyNamingStrategy.PascalCaseStrategy()

Copyright © 2008–2018 FasterXML. All rights reserved.