{ "inprog" : [ { "host" : "DESKTOP-LTB3QQ5:27017", "desc" : "conn25", "connectionId" : 25, "client" : "127.0.0.1:38354", "appName" : "MongoDB Shell", "clientMetadata" : { "application" : { "name" : "MongoDB Shell" }, "driver" : { "name" : "MongoDB Internal Client", "version" : "3.6.8" }, "os" : { "type" : "Linux", "name" : "Ubuntu", "architecture" : "x86_64", "version" : "20.04" } }, "active" : true, "currentOpTime" : "2021-03-16T11:01:14.599+0530", "opid" : 3135, "lsid" : { "id" : UUID("82088a94-16c2-4aa2-92d8-c557e74049a1"), "uid" : BinData(0,"47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=") }, "secs_running" : NumberLong(0), "microsecs_running" : NumberLong(65), "op" : "command", "ns" : "admin.$cmd.aggregate", "command" : { "currentOp" : 1, "lsid" : { "id" : UUID("82088a94-16c2-4aa2-92d8-c557e74049a1") }, "$db" : "admin" }, "numYields" : 0, "locks" : { }, "waitingForLock" : false, "lockStats" : { } } ], "ok" : 1 }
command cat mon.json | jq
when I parse this with jq I get this error
parse error: Invalid numeric literal at line 1, column 493
I think this is because "id": UUID("82088a94-16c2-4aa2-92d8-c557e74049a1")