| Home | Trees | Indices | Help |
|
|---|
|
|
Modular processing of JSON data by trees and branches, pointers and patches.
Version: 0.2.21
Author: Arno-Can Uestuensoez
Copyright: Copyright (C) 2015-2016 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can Uestuensoez
License: Artistic-License-2.0 + Forced-Fairplay-Constraints
|
|||
| |||
|
|||
|
JSONDataError base Exception. |
|||
|
JSONDataIndexError Error on key. |
|||
|
JSONDataKeyError Error on key. |
|||
|
JSONDataPathError Error on key. |
|||
|
JSONDataNodeError Error on node, slightly different from key. |
|||
|
JSONDataNodeTypeError Error on NodeTypes. |
|||
|
JSONDataParameterError Erroneous parameters. |
|||
|
JSONDataSourceFileError Error on read of a source file. |
|||
|
JSONDataModeError Type error of source file content. |
|||
|
JSONDataTargetFileError Error on writing a file. |
|||
|
JSONDataValueError Error on a value. |
|||
|
JSONDataAmbiguityError Error ambiguity of provided parameters. |
|||
|
JSONPointerError Pointer error. |
|||
|
JSONPointerTypeError Pointer type error, the JSON pointer syntax does not represent a valid pointer. |
|||
|
JSONTypeError Pointer error. |
|||
|
JSONDiffError Error in JSONDiff. |
|||
|
JSONSearchError Error in JSONSearch. |
|||
| JSONDataPatchError | |||
| JSONDataPatchItemError | |||
|
|||
__maintainer__ =
|
|||
__uuid__ =
|
|||
appname =
|
|||
_interactive = False
|
|||
V3K = FalsePython3.5+ |
|||
ISSTR = string and unicode |
|||
MJ_RFC4627 = 1The first JSON RFC. |
|||
MJ_RFC7493 = 2The IJSON RFC. |
|||
MJ_RFC7159 = 2The JSON RFC by 'now'. |
|||
MJ_RFC8259 = 4The JSON RFC by 'now'. |
|||
MJ_ECMA404 = 16The first JSON EMCMA standard. |
|||
MJ_RFC6901 = 32JSONPointer first IETF RFC. |
|||
MJ_RELPOINTERD1 = 64JSONPointer - relative pointer Draft-1. |
|||
MJ_RFC6902 = 128JSONPatch first IETF RFC. |
|||
MJ_DEFAULT = 2
|
|||
MS_OFF = 40No validation. |
|||
MS_DRAFT3 = 43The first supported JSONSchema IETF-Draft. |
|||
MS_DRAFT4 = 44The current supported JSONSchema IETF-Draft. |
|||
MS_ON = 44The current when the default is activated. |
|||
MODE_SCHEMA_DEFAULT = 40The current default validation mode. |
|||
str2mj =
|
|||
mj2str =
|
|||
MATCH_INSERT = 0for dicts |
|||
MATCH_NO = 1negates the whole set |
|||
MATCH_KEY = 2for dicts |
|||
MATCH_CHLDATTR = 3for dicts and lists |
|||
MATCH_INDEX = 4for lists |
|||
MATCH_MEM = 5for dicts(value) and lists |
|||
MATCH_NEW = 6If not present create a new, else ignore and keep present untouched. |
|||
MATCH_PRESENT = 7Check all are present, else fails. |
|||
B_ALL = 0OP-On-Branches: process in any case. |
|||
B_AND = 1OP-On-Branches: process only when both present. |
|||
B_OR = 2OP-On-Branches: process if one at all is present. |
|||
B_XOR = 4OP-On-Branches: process if only one is present. |
|||
B_ADD = 8OP-On-Branches: add in accordance to RFC6902 |
|||
B_MOD = 16OP-On-Branches: modulo of branches. |
|||
B_SUB = 32OP-On-Branches: subtract branches. |
|||
C_REF = 0OP-Copy: Copy reference. |
|||
C_DEEP = 1OP-Copy: Copy deep. |
|||
C_SHALLOW = 2OP-Copy: Copy shallow. |
|||
C_DEFAULT = 0Default value. |
|||
SC_DATA = 0OP-Scope: the managed JSON data only |
|||
SC_SCHEMA = 1OP-Scope: the managed JSON schema only |
|||
SC_JSON = 2OP-Scope: the managed JSON data and schema only. |
|||
SC_OBJ = 3OP-Scope: the attributes of current instance. |
|||
SC_ALL = 4OP-Scope: the complete object, including data. |
|||
SD_BOTH = 0Apply on mixed input and output data. |
|||
SD_INPUT = 1Apply on input data. |
|||
SD_OUTPUT = 2Apply on output data. |
|||
S_NONE = 0
|
|||
S_SIMPLE = 1
|
|||
R_OBJ = 0Return object of type self. |
|||
R_DATA = 1Return self.data. |
|||
R_JDATA = 2Return object of type JSONData. |
|||
RT_STR = 1string - 'str' or 'unicode' |
|||
RT_DICT = 2dict |
|||
RT_LST = 4list |
|||
RT_JSONPOINTER = 8JSONPointer |
|||
RT_JSONPATCH = 16JSONPatch |
|||
RT_JSONDATA = 32JSONData |
|||
RT_DEFAULT = 8default |
|||
rtypes2num =
|
|||
M_FIRST = 1First match only. |
|||
M_LAST = 2Last match only. |
|||
M_ALL = 4All matches. |
|||
V_NONE = 1no checks at all |
|||
V_FINAL = 2checks final result only |
|||
V_STEPS = 4checks each intermediate directory |
|||
V_DEFAULT = 1default |
|||
verify2num =
|
|||
DF_SUMUP = 0
|
|||
DF_CSV = 1
|
|||
DF_JSON = 3
|
|||
DF_TABLE = 4
|
|||
DF_REVIEW = 5
|
|||
DF_REPR = 6
|
|||
DF_STR = 7
|
|||
str2df =
|
|||
df2str =
|
|||
PJ_TREE = 0tree view JSON syntax |
|||
PJ_FLAT = 1flat print JSON syntax |
|||
PJ_PYTREE = 2tree view Python syntax |
|||
PJ_PYFLAT = 3flat print Python syntax |
|||
PJ_REPR = 4repr() - raw string, Python syntax |
|||
PJ_STR = 5str() - formatted string, Python syntax |
|||
str2pj =
|
|||
pj2str =
|
|||
NOTATION_NATIVE = 0JSON notation in accordance to RFC7159 |
|||
NOTATION_JSON = 1JSON notation in accordance to RFC7159 |
|||
NOTATION_JSON_REL = 2JSON notation as relative pointer |
|||
NOTATION_HTTP_FRAGMENT = 3JSON notation in accordance to RFC7159 with RFC3986. |
|||
CHARS_RAW = 0display character set as raw |
|||
CHARS_STR = 1display character set as str |
|||
CHARS_UTF = 2display character set as utf |
|||
LINE_CUT = 0force line fit |
|||
LINE_WRAP = 1wrap line in order to fit to length |
|||
SEARCH_FIRST = 0Break display after first match. |
|||
SEARCH_ALL = 1List all matches. |
|||
PT_PATH = 0Displays a list of items. |
|||
PT_RFC6901 = 1Displays rfc6901 strings. |
|||
PT_NODE = 2Displays the node. |
|||
JSYN_NATIVE = 1Literally in accordance to standards. |
|||
JSYN_PYTHON = 2Python in-memory syntax representation. |
|||
match2match =
|
|||
mode2mj =
|
|||
validator2ms =
|
|||
copy2c =
|
|||
consolewidth = 80
|
|||
_verbose = 0
|
|||
_debug = 0
|
|||
__package__ =
|
|||
|
|||
str2mj
|
mj2str
|
rtypes2num
|
verify2num
|
str2df
|
df2str
|
str2pj
|
pj2str
|
match2match
|
mode2mj
|
validator2ms
|
copy2c
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 4.0.0 on Fri Jun 15 17:16:43 2018 | http://epydoc.sourceforge.net |