I'm writing a smart contract and inevitably need to have arrays of bytes as input and output of functions. In remix arrays work just fine but with
web3js there are several issues with arrays which make it impossible to have array as inputs and outputs.
So I think I need some sort of
JSON.parse() implementation in solidity to convert array of bytes to string and vice versa to get strings in input, work with arrays inside EVM and return strings in output.
Is there any clean and cost-effective implementation of such functions?