Annotation Type PromptConfigJsonField
Optional annotation for customizing instance fields when serializing and deserializing prompt configuration
instances. Intended for use with the
JsonConfig mixin for
prompt 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.-
Optional Element Summary
Optional Elements
-
Element Details
-
name
String nameThe 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:
""
-