Skip to content

py2j is a lightweight Python library that converts YAML data to JSON.

License

Notifications You must be signed in to change notification settings

shawnduong/py2j

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py2j - Python YAML to JSON

py2j is a lightweight Python library that converts YAML data to JSON. Not to be confused with log2j, or y2k.

This project is currently in development.

Usage

Just import the library and then use parse_f.

from py2j import parse_f

# If you want JSON.
data = parse_f("./input_file.yml")

# If you just want a regular Python dictionary.
data = parse_f("./input_file.yml", jsout=False)

About

py2j is a lightweight Python library that converts YAML data to JSON.

Topics

Resources

License

Stars

Watchers

Forks

Languages