bids.utils.convert_JSON

convert_JSON(j)[source]

Recursively convert CamelCase keys to snake_case. From: https://stackoverflow.com/questions/17156078/ converting-identifier-naming-between-camelcase-and- underscores-during-json-seria