I am trying to create nats to mongodb adapter with golang and haven't figure out how to build a structer for this json
[
[
1580946420.000000,
{
"tag":"logger.example",
"log":"2020-02-05T23:47:00+0000 INFO takes the value and converts it to string.",
"container_id":"15fe6ca47aaa88d5d5a9936abaa1495e62d568eaede8a3860beda48e1404c0f5",
"container_name":"/nats-mongo_log-generator_1",
"source":"stdout"
}
],
[
1580946423.000000,
{
"tag":"logger.example",
"container_id":"15fe6ca47aaa88d5d5a9936abaa1495e62d568eaede8a3860beda48e1404c0f5",
"container_name":"/nats-mongo_log-generator_1",
"source":"stdout",
"log":"2020-02-05T23:47:03+0000 INFO takes the value and converts it to string."
}
],
...
]