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
 All Classes Namespaces Files Functions Variables Macros
src.rapp_http_json_parser.RappHttpJSONParser Class Reference

Retrieves key:value pairs from JSON responses. More...

Inheritance diagram for src.rapp_http_json_parser.RappHttpJSONParser:
Collaboration diagram for src.rapp_http_json_parser.RappHttpJSONParser:

Public Member Functions

def __init__
 Constructor. More...
 
def find_values
 Creates key:value pairs from JSON responses. More...
 

Private Attributes

 _html_parser
 

Detailed Description

Retrieves key:value pairs from JSON responses.

Definition at line 26 of file rapp_http_json_parser.py.

Constructor & Destructor Documentation

def src.rapp_http_json_parser.RappHttpJSONParser.__init__ (   self)

Constructor.

Definition at line 29 of file rapp_http_json_parser.py.

Member Function Documentation

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]

Parameters
key_dict[dictionary] The keys dictionary
json_data[dictionary] The JSON data dictionary
Returns
result [dictionary] The final dictionary

Definition at line 42 of file rapp_http_json_parser.py.

Member Data Documentation

src.rapp_http_json_parser.RappHttpJSONParser._html_parser
private

Definition at line 30 of file rapp_http_json_parser.py.


The documentation for this class was generated from the following file: