Skip to main content

jcson - enhanced json for configuration

Project description

jcson - enhanced json for configuration

Build Status


The jcson python module is an enhanced json parser, that supports:

  • path expression sustitutions, a way of referring to other parts of the json/dictionary tree
  • include directive
  • new line and inline comments


Install and update using pip:

pip install -U jcson

A simple example

Sample config file simple.jcson:

    "foo" : {
        "bar": "some value"

    "bar_value": "${}",

    "concatenated": "${} used later"

Pyhton code that reads it:

import json
import jcson

c ='simple.jcson')

print (json.dumps(c, indent=4))


    "foo" : {
        "bar": "some value"

    "bar_value": "some value",

    "concatenated": "some value used later"

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for jcson, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size jcson-0.1.5-py3.7.egg (8.0 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size jcson-0.1.5-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size jcson-0.1.5.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page