JSON Parser  1.0
json_member_list_t* json_parse_dotted_path ( const char *  dotted_path)

Create a set of links describing a JSON data path, by parsing a character array with JSON dotted notion in it.

This function will output an array of json_path_t elements in an otherwise empty json_member_list_t element. The json_member_list_t can be used as input to other json_xxx functions that require and use JSON paths.

Although the JSON text path may have an absolute start (a $.xxx in most implementations) this function will strip the extraneous header off, and provide the Member Name and Array path links as they are found.

e.g. $.bakery.product[19]."curry pan"

will convert to 4 link segments {JSON_object, "bakery"}, {JSON_object, "product"}, {JSON_array, 19}, {JSON_object, "curry pan"},

Parameters
[in]dotted_patha nul terminated string that contains the textural JSON Dotted Path to parse and translate into internal segment format.
Return values
Pointera new json_member_list_t record that provides the list of links segments that represents the input JSON Path. It is the callers responsibility to manage this storage and free it when finished with it.
NULLInvalid path was provided.