Skip to content

Instantly share code, notes, and snippets.

@llaine
Created June 9, 2016 10:45
Show Gist options
  • Select an option

  • Save llaine/cb9bcfa2fca17c6a520dff3b7101fa66 to your computer and use it in GitHub Desktop.

Select an option

Save llaine/cb9bcfa2fca17c6a520dff3b7101fa66 to your computer and use it in GitHub Desktop.
struct Question {
int id;
string name;
Json dynamicFields;
int answerType;
this(int _id, string _name, string _dynamicFields, int _asnwerType) {
this.id = _id;
this.name = _name;
this.answerType = _asnwerType;
this.dynamicFields = jsonSerializer(_dynamicFields);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment