I have an object array like below
[ {"name":"heamoglobin","reading":"12"},
{"name":"mrc","reading":"3.3"},
{"name":"hct","reading":"33"} ]
I need to send this as an argument for my chaincode function. I tried stringifying the whole array like this
"[{\"name\":\"heamoglobin\",\"reading\":\"12\"},{\"name\":\"mrc\",\"reading\":\"3.3\"},{\"name\":\"hct\",\"reading\":\"33\"}]"
but didnt get a successful transaction
Any suggestions?