ViliusS commented on PR #4980: URL: https://github.com/apache/activemq-artemis/pull/4980#issuecomment-2175466690
While I agree that JSON could be suitable for programming languages which natively support it, I don't really think that it is in a spirit of Bash shell scripting. Parsing JSON would involve much more complicated steps, first parsing the output, then somehow storing parsed data in a temporary variable, and only then doing needed actions on users. It also assumes that jq or any other JSON tool is available, which is not necessary true. Linux already has all the tool it needs for such trivial task and all of them use spaces as parsing markers, does parsing automatically, effectively directly from SDIN. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@activemq.apache.org For additional commands, e-mail: gitbox-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact