Skip to content

jintwo/python-json-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-loader

data.json
{
  "obj": {
    "val": "hello"
  }
}
python code
import json_loader
# add directory with .json files (working directory in this case)
json_loader.install_json_loader('.')
# import .json file (data.json)
import data
# access to json values
val = data.obj.val
assert val == 'hello'

About

Python json files import (experiment)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages