Skip to content

ThoenigAdrian/json2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Json2

Purpose

Python package which just wraps the default python json but with. Additonally it can hanlde numpy arrays and torch tensors without throwing an exception. json2.load_file and json2.save_file

Installation

pip install json2

Usage

import json2

a = json2.load_file(r'/home/user/myjson.json')
json2.dump_file(r'/home/user/myjson.json', a)

About

Add convenience function to pythons default json implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages