Azure / Azure/azure-functions-java-library
How to bind input JSON and use it as POJO?
- Lenguaje dominante
- Java
- Estrellas
- 45
- Forks
- 49
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
For example, the input queue message is JSON :
```
{
"image_path":"1905/10/1234/1234.jpg",
"watermakr_id":"1234"
}
```
And I need it automatically serialized as POJO.
So I can access its properties like this :
```
@FunctionName("queueMessageTriggerForWatermark")
public void BlobQueueTriggerForWatermark(
@QueueTrigger(name = "message", queueName = "image-watermark-queue") String message,
@BlobInput(name = "file1", dataType = "binary", path = "{**queueTrigger.path**}.jpg") byte[] arInputImage_org) throws Exception {
```
How to make it possible?
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.