How can I parse out a specific field of a multichain wallet transaction?

+2 votes
After I perform a listwallettransaction I want to be able to just pull out the specific string for the "name" field... How would I go about that?
asked Jul 11, 2017 by BankGirl

1 Answer

+1 vote
You need to do this in whichever programming language you are using the work with the MultiChain API. If you want to do it from the command line and you're using Linux, I recommend taking a look at jq, which is a powerful tool for slicing and dicing JSON objects: https://stedolan.github.io/jq/
answered Jul 12, 2017 by MultiChain
...