how to extract secondary json from the http response

Certified Associate Developer

hi, 

my json response is as follows : 

Body={…………

message={role=user, function_call={name=fn_test ,arguments={ "annotations": [ { "originalText": “text1”, "annotation": { "classification": "Rule", "rule": true } }, 

{ "originalText": “text2”, "annotation": { "classification": "Rule", "rule": true } }

json to Appian shows like this.

I was able to traverse until arguments using httpresponse but cannot pull anything inside annotations ,wanted to extract every ( original text, classification and rule) and store it as records in database.Any ideas appreciated.

 

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data