Implement pinJSONToIPFS

Implement the pinJSONToIPFS method:

  • pin operation
  • additional flag --json @filename.json to pass a filename with JSON inside
  • or additional flag --json '{"key":"value"}' to pass the JSON "inline"
Edited by Benoit BERAUD