Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

How to bind input JSON and use it as POJO?

Open
#91 0 comments 0 reactions 1 assignee View on GitHub

@amamounelsayed is already working on this.

Since Sep 25, 2019.

Assessment

This issue has not been assessed yet.

Description

area:java-functions rich-types

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?

Dominant language
Java
Stars
45
Forks
49
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/azure-functions-java-library

All issues in Azure/azure-functions-java-library

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.