XML : Bash script, easier to parse JSON or XML

I am building an internal WebAPI tool that will accept calls from a bash script written and managed by a single person in the organization. I am trying to make this process as streamline as possible. My question is, is it more advantageous to return values in JSON or XML to a bash script? Which protocol is more intuitive to parse?

No comments:

Post a Comment