You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I can tell, this existed in the v1 API but no longer exists? For example, Assignment.answer() returns "The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty." according to documentation, but it's really just a String.
What is the alternative? Maybe I'm missing something but I don't see any built in way to parse the output.
The text was updated successfully, but these errors were encountered:
For anyone else curious, it seems that it's safe to use any standard XML parser to handle the result. I'll leave this issue open in case there are plans to introduce something to the API, though.
@zoewangg Perhaps you could indicate specifically where you have added this functionality? I'm still not seeing any built-in way to parse the answers (i.e., a QuestionFormAnswers class with the requisite methods), but it's possible I've overlooked this.
As far as I can tell, this existed in the v1 API but no longer exists? For example,
Assignment.answer()
returns "The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty." according to documentation, but it's really just a String.What is the alternative? Maybe I'm missing something but I don't see any built in way to parse the output.
The text was updated successfully, but these errors were encountered: