Creating Dynamic JSON on basis of excel data

instead of writing it in txt file can we skip that step and just process updated json directly to https activity because i will again need to read that file and process it further will that be possibile?