confit.utils.xjson
Reference [source]
A path reference to a value in the configuration.
Parameters
| PARAMETER | DESCRIPTION |
|---|---|
value | The path to the value in the configuration. TYPE: |
XJsonTransformer [source]
Bases: Transformer
A Lark transformer to parse extended JSON.
Parameters
| PARAMETER | DESCRIPTION |
|---|---|
input_string | The input string to parse. TYPE: |
loads [source]
Load an extended JSON string into a python object. Takes care of detecting references and tuples
Parameters
| PARAMETER | DESCRIPTION |
|---|---|
s | TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
Any | |
dumps [source]
Dump a python object into an extended JSON string. Takes care of serializing references and tuples
Parameters
| PARAMETER | DESCRIPTION |
|---|---|
o | TYPE: |
| RETURNS | DESCRIPTION |
|---|---|
str | |