> -----Original Message----- > From: Eyjolfur Eyjolfsson > Sent: Wednesday, November 1, 2017 6:10 AM > To: Randall S. Becker > Cc: Kevin Daudt; git@xxxxxxxxxxxxxxx > Subject: Re: Is it possible to convert a Json file to xml > file with Git > > Hi > > Thank you for your response and help. I am new to Git. Not a problem, but what you describe is not using git but rather a shell called bash. Bash is like cmd.exe or powershell.exe, it is not GIT. See http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html > The reason for my question is that I am using Git or Bash.exe (cURl) > to call a REST web service (open for test) and retrieving Json > from the web service and storing it into file. > This works fine from the Git Bash command line . My Git Command: Not a git command, that is a curl command. See https://curl.haxx.se/ > $ curl https://jsonplaceholder.typicode.com/posts -o c:\temper.txt > > I will look into the smudge filter. > You could search for "convert json to xml in LANGUAGE" where language is one you are familiar with. E.g. http://google.com/search?q=convert+json+to+xml+Java > One more question is there a possibility to call Git Bash with a > parameter like example > C:\Git\Git\git-bash.exe curl > https://jsonplaceholder.typicode.com/posts -o c:\temper.txt > > The reason I am asking this is that I am using NAV 2009 Classic Client > and want to lunch the Git Bash with > the command $ curl > https://jsonplaceholder.typicode.com/posts -o c:\temper.txt Again you are using Bash that came with a windows build of Git, just like when the Visual Studio shell gets installed. A place like https://stackoverflow.com/ may be a better resource than this mailing list about GIT. v/r, Jason Pyeron PS: Please do not top post. See http://www.idallen.com/topposting.html > > > Best regards > > (e) eyjolfureyjolfsson@xxxxxxxx > (w) tpretailgroup.com > > > On 31 October 2017 at 21:52, Randall S. Becker > <rsbecker@xxxxxxxxxxxxx> wrote: > >> On October 31, 2017 5:23 PM, Kevin Daudt wrote: > >> > On Tue, Oct 31, 2017 at 05:28:40PM +0000, Eyjolfur > Eyjolfsson wrote: > >> > I have a question. > >> > Is it possible to convert a Json file to XML with Git > >> > >> git is a version control system, which is mostly content > agnostic. It > > knows > >> nothing about json or xml, let alone how to convert them. > >> > >> You might want to use some kind of programming language to do the > >> conversion. <snip/> -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-