Hi,
you can use get_module_resource function to get the right path of the file.
import json
from odoo.modules.module import get_module_resource
json_file_path = get_module_resource('your_module', 'static/, 'you_file.json')
with open(json_file_path) as f:
data = json.load(f)