C++: Convert HTTP response into Prometheus TimeSeries data

I am trying to integrate Prometheus to my application which is return in C++.
It has lot of metrics exposed via HTTP endpoints.

Response body type is JSON.

I want to convert this JSON type into Prometheus time series data.

I would like to whether any library or adapter is available.