![]()  | 
  
    SG++-Doxygen-Documentation
    
   | 
 
Functions | |
| def | parseAttribute (attrValue, attrName) | 
| def | parseKeyAsTuple (d) | 
| def | reprBool (attrValue) | 
| def | reprDict (attrValue) | 
| def | reprFloat (attrValue) | 
| def | reprInt (attrValue) | 
| def | reprKey (attrValue) | 
| def | reprList (attrValue) | 
| def | reprString (attrValue) | 
| def | reprTuple (attrValue) | 
| def | reprVal (attrValue) | 
| def | stringToList (s, f=float) | 
| def | stringToListOfLists (s, f=float) | 
| def | stringToTupleOfFloats (s) | 
| def python.uq.jsonLib.parseAttribute | ( | attrValue, | |
| attrName | |||
| ) | 
Parses a single class attribute to the correspondent string representation in json. @param attrValue: value of the attribute @param attrName: name of the attribute @return: json string equivalence
References python.uq.jsonLib.reprString(), and python.uq.jsonLib.reprVal().
| def python.uq.jsonLib.parseKeyAsTuple | ( | d | ) | 
Converts the string representation of a dict to an actual dict @param d: dictionary
References python.uq.jsonLib.stringToTupleOfFloats().
| def python.uq.jsonLib.reprBool | ( | attrValue | ) | 
Referenced by python.uq.jsonLib.reprVal().
| def python.uq.jsonLib.reprDict | ( | attrValue | ) | 
References sgpp::combigrid.join(), python.uq.jsonLib.reprKey(), and python.uq.jsonLib.reprVal().
Referenced by python.uq.jsonLib.reprVal().
| def python.uq.jsonLib.reprFloat | ( | attrValue | ) | 
Referenced by python.uq.jsonLib.reprVal().
| def python.uq.jsonLib.reprInt | ( | attrValue | ) | 
Referenced by python.uq.jsonLib.reprVal().
| def python.uq.jsonLib.reprKey | ( | attrValue | ) | 
Referenced by python.uq.jsonLib.reprDict().
| def python.uq.jsonLib.reprList | ( | attrValue | ) | 
References sgpp::combigrid.join(), and python.uq.jsonLib.reprVal().
Referenced by python.uq.jsonLib.reprVal().
| def python.uq.jsonLib.reprString | ( | attrValue | ) | 
Referenced by python.uq.jsonLib.parseAttribute(), and python.uq.jsonLib.reprVal().
| def python.uq.jsonLib.reprTuple | ( | attrValue | ) | 
References sgpp::combigrid.join(), and python.uq.jsonLib.reprVal().
Referenced by python.uq.jsonLib.reprVal().
| def python.uq.jsonLib.reprVal | ( | attrValue | ) | 
Computes a string representation of attrValue that is valid json. Supported are: 1) boolean 2) integer 3) dictionary 4) float 5) list, np.ndarray 6) tuple 7) string 8) DataVector 9) objects with ".toJson" method 10) objects with ".serialize" method @param attrValue: arbitrary object
References python.uq.jsonLib.reprBool(), python.uq.jsonLib.reprDict(), python.uq.jsonLib.reprFloat(), python.uq.jsonLib.reprInt(), python.uq.jsonLib.reprList(), python.uq.jsonLib.reprString(), python.uq.jsonLib.reprTuple(), and create_dataset.type.
Referenced by python.uq.jsonLib.parseAttribute(), python.uq.jsonLib.reprDict(), python.uq.jsonLib.reprList(), and python.uq.jsonLib.reprTuple().
| def python.uq.jsonLib.stringToList | ( | s, | |
f = float  | 
        |||
| ) | 
References sgpp::combigrid.split().
| def python.uq.jsonLib.stringToListOfLists | ( | s, | |
f = float  | 
        |||
| ) | 
References sgpp::combigrid.split().
| def python.uq.jsonLib.stringToTupleOfFloats | ( | s | ) | 
Converts s to a tuple @param s: string @return: tuple represented by s
References sgpp::combigrid.split().
Referenced by python.uq.jsonLib.parseKeyAsTuple().