com.azure.core.annotation.JsonFlatten Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-core Show documentation
Show all versions of azure-core Show documentation
This package contains core types for Azure Java clients.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.core.annotation;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
/**
* Annotation used for flattening properties separated by '.'. E.g. a property with JsonProperty value
* "properties.value" will have "value" property under the "properties" tree on the wire. This annotation when used on a
* class, all JSON fields will be checked for '.' and be flattened appropriately.
*/
@Retention(RUNTIME)
@Target({ ElementType.ANNOTATION_TYPE, ElementType.TYPE, ElementType.FIELD })
public @interface JsonFlatten {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy