Annotation Type PromptConfigJsonField
-
@Documented @Target(FIELD) @Retention(RUNTIME) public @interface PromptConfigJsonField
Optional annotation for customizing instance fields when serializing and deserializing prompt configuration instances. Intended for use with theJsonConfig mixinforprompt service handlers. If you annotate a field in your model class with this annotation, you can customize the serialization and deserialization process for that field.
-
-
Element Detail
-
name
String name
The name of the field in the serialized JSON object. Defaults to the name of the instance field if empty.- Returns:
- The name of the field in the serialized JSON object.
- Default:
- ""
-
-