ropnop / go-windapsearch

Utility to enumerate users, groups and computers from a Windows domain through LDAP queries
BSD 3-Clause "New" or "Revised" License
348 stars 46 forks source link

Have an option to output JSONL output instead of JSON #19

Open maaaaz opened 2 years ago

maaaaz commented 2 years ago

@ropnop,

JSONL (JSON lines) is often more convenient to parse instead of a regular JSON structure.

I know it is quite easy to convert JSON to JSONL, by piping jq -c '.[]' after the windapsearch command, but relying on an external program (which is not installed by default) and having to type a longer command (prone to error) is not convenient.

Cheers !