RAPP Platform
v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
|
Retrieves key:value pairs from JSON responses. More...
Public Member Functions | |
def | __init__ |
Constructor. More... | |
def | find_values |
Creates key:value pairs from JSON responses. More... | |
Private Attributes | |
_html_parser | |
Retrieves key:value pairs from JSON responses.
Definition at line 26 of file rapp_http_json_parser.py.
def src.rapp_http_json_parser.RappHttpJSONParser.__init__ | ( | self | ) |
Constructor.
Definition at line 29 of file rapp_http_json_parser.py.
def src.rapp_http_json_parser.RappHttpJSONParser.find_values | ( | self, | |
key_dict, | |||
json_data | |||
) |
Creates key:value pairs from JSON responses.
Accepts a json_key:final_key dictionary and returns a dictionary with values final_key[i]:value[i] where json_key[i]:final_key[i] and json_key[i]:value[i]
key_dict | [dictionary] The keys dictionary |
json_data | [dictionary] The JSON data dictionary |
Definition at line 42 of file rapp_http_json_parser.py.
|
private |
Definition at line 30 of file rapp_http_json_parser.py.