How to send custom JSON data to Matamo using Java web app

Hi There,

I have a spring web with restful endpoint that accepts JSON payload.
How can I push this JSON payload to Matomo server.

Not seeing a way to pass custom JSON payload using https://github.com/matomo-org/matomo-java-tracker

Any guidance is much appreciated.

Thanks,
Suresh