All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jn.easyjson.jackson.JacksonConstants Maven / Gradle / Ivy

There is a newer version: 3.2.26
Show newest version
/*
 * Copyright 2019 the original author or authors.
 *
 * Licensed under the Apache, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at  http://www.gnu.org/licenses/lgpl-3.0.html
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.jn.easyjson.jackson;

public class JacksonConstants {

    // custom config switch
    public static final String ENABLE_CUSTOM_CONFIGURATION="ENABLE_CUSTOM_CONFIGURATION";

    // nulls
    public static final String SERIALIZE_NULLS_ATTR_KEY="SERIALIZE_NULLS";

    // boolean priority attribute keys:
    public static final String SERIALIZE_BOOLEAN_USING_1_0_ATTR_KEY = "SERIALIZE_BOOLEAN_USING_1_0";
    public static final String SERIALIZE_BOOLEAN_USING_ON_OFF_ATTR_KEY = "SERIALIZE_BOOLEAN_USING_ON_OFF";

    // number priority attribute keys:
    public static final String SERIALIZE_LONG_USING_STRING_ATTR_KEY = "SERIALIZE_LONG_USING_STRING";
    public static final String SERIALIZE_NUMBER_USING_STRING_ATTR_KEY = "SERIALIZE_NUMBER_USING_STRING";

    // enum priority attribute keys:
    public static final String SERIALIZE_ENUM_USING_INDEX_ATTR_KEY = "SERIALIZE_ENUM_USING_INDEX";
    public static final String SERIALIZE_ENUM_USING_FIELD_ATTR_KEY = "SERIALIZE_ENUM_USING_FIELD";

    // date priority attribute keys:
    public static final String SERIALIZE_DATE_USING_DATE_FORMAT_ATTR_KEY = "SERIALIZE_DATE_USING_DATE_FORMAT";
    public static final String SERIALIZE_DATE_USING_TO_STRING_ATTR_KEY = "SERIALIZE_DATE_USING_TO_STRING";

    public static final String SERIALIZE_LOCALE="SERIALIZE_LOCALE";
    public static final String SERIALIZE_TIMEZONE="SERIALIZE_TIMEZONE";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy