shell - How to decode a JSON-encoded column in awk? -
say have tab delimited file. in it, have info column encoded in json. there way decode json info , utilize in meaningful way? ideally, method decode json info awk's hash table / array. alternatively, hive's get_json_object work well.
awk not have facility decoding json. it's time move more general-purpose programming language, perl or python or ruby, of have modules dealing both json , column-delimited text.
json shell unix awk
No comments:
Post a Comment