Home | Trees | Indices | Help |
---|
|
object --+ | Helper.Helper --+ | JsonHelper
Helper class to manipulate the data in Json format
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
_obj = None
|
|||
_schema = None
|
|||
Inherited from |
|
|||
Inherited from |
|
Constructor for class
|
Check if Json string is compliant with schema Returns : (bool) whether schema validation is passed |
Get all values using JSONPath Args: jpath : JSON-path used to search for values For more details about the JSON-Path, please refer to http://goessner.net/articles/JsonPath/ Returns : all matching values from JSONPath search in a list |
Get the first value using JSONPath Args: jpath : JSON-path used to search for values For more details about the JSON-Path, please refer to http://goessner.net/articles/JsonPath/ Returns : the first matching value from JSONPath search result |
Get the normalized JSONPath Args: jpath : JSON-path used to fetch normalized path For more details about the JSON-Path, please refer to http://goessner.net/articles/JsonPath/ Returns : normalized JSONPath |
Print Json data in a nice format Args: pretty_print : do you want to be pretty? Returns : formatted Json string |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Nov 05 17:17:48 2013 | http://epydoc.sourceforge.net |