I think this is what you want -> https://dev.mysql.com/doc/refman/5.7/en/json.html#json-paths
This is standard MySQL functionality though, nothing is specific to Pivotal software. For future issues not related to Pivotal software, you'll probably get more help on the MySQL forum or a place like Stack Overflow.