i need to convert ndjson objects to json in python i see there is a library in pypi.org but i'm not able to use it it is the ndjson 0.3.1
{"license":"mit","count":"1551711"}
{"license":"apache-2.0","count":"455316"}
{"license":"gpl-2.0","count":"376453"}
into json
[{
"license": "mit",
"count": "1551711"
},
{
"license": "apache-2.0",
"count": "455316"
},
{
"license": "gpl-2.0",
"count": "376453"
}]
any help? thank you
No need to use a third-party library, the
json
standard library from Python suffices :