Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

fixed xml2json and json2xml scripts to support new WA output format. #386

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

samimarreed
Copy link

@samimarreed samimarreed commented May 31, 2020

WA has new output schema, which looks like this :

"output": {
            "generic": [
                {
                    "values": [
                        {
                            "text": "val1"
                        },
                        {
                            "text": "val2"
                        }
                    ],
                    "selection_policy": "random",
                    "response_type": "text"
                }
            ]
}        

this pull requests fixes the scripts ( xml2json and json2xml ) to support this change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants