001package silicondust;
002/*-
003 * ##########################################################################
004 * TV H/W, EPGs, and Recording
005 * $Id: ObjectMapperConfiguration.java 5999 2020-05-18 16:41:28Z ball $
006 * $HeadURL: svn+ssh://svn.hcf.dev/var/spool/scm/repository.svn/silicondust/trunk/src/main/java/silicondust/ObjectMapperConfiguration.java $
007 * %%
008 * Copyright (C) 2013 - 2020 Allen D. Ball
009 * %%
010 * Licensed under the Apache License, Version 2.0 (the "License");
011 * you may not use this file except in compliance with the License.
012 * You may obtain a copy of the License at
013 *
014 *      http://www.apache.org/licenses/LICENSE-2.0
015 *
016 * Unless required by applicable law or agreed to in writing, software
017 * distributed under the License is distributed on an "AS IS" BASIS,
018 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
019 * See the License for the specific language governing permissions and
020 * limitations under the License.
021 * ##########################################################################
022 */
023import ball.databind.AbstractObjectMapperConfiguration;
024import com.fasterxml.jackson.databind.ObjectMapper;
025import lombok.NoArgsConstructor;
026
027/**
028 * {@link silicondust} {@link ObjectMapper}
029 * {@link ObjectMapperConfiguration}.
030 *
031 * {@include #INSTANCE}
032 *
033 * @author {@link.uri mailto:ball@hcf.dev Allen D. Ball}
034 * @version $Revision: 5999 $
035 */
036@NoArgsConstructor
037public class ObjectMapperConfiguration
038             extends AbstractObjectMapperConfiguration {
039    private static final long serialVersionUID = -4843954530414827415L;
040
041    /**
042     * {@link ObjectMapperConfiguration} {@link #INSTANCE}
043     */
044    public static final ObjectMapperConfiguration INSTANCE =
045        new ObjectMapperConfiguration();
046
047    /**
048     * An {@link ObjectMapper} configured with {@link #INSTANCE}.
049     */
050    public static final ObjectMapper MAPPER = INSTANCE.newObjectMapper();
051}