https://scotch.io/tutorials/working-with-json-in-mysql