@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) @Documented public @interface ApolloJsonValue
Usage example:
// Inject the json property value for type SomeObject.
// Suppose SomeObject has 2 properties, someString and someInt, then the possible config
// in Apollo is someJsonPropertyKey={"someString":"someValue", "someInt":10}.
@ApolloJsonValue("${someJsonPropertyKey:someDefaultValue}")
private SomeObject someObject;
Create by zhangzheng on 2018/3/6Valuepublic abstract String value
Copyright © 2022 Ctrip, Inc.. All rights reserved.