Skip to content

Instantly share code, notes, and snippets.

@nodtem66
Created November 25, 2015 11:46
Show Gist options
  • Save nodtem66/c2bf012f3d88a4bb94ed to your computer and use it in GitHub Desktop.
Save nodtem66/c2bf012f3d88a4bb94ed to your computer and use it in GitHub Desktop.
JSON in Evaluation system
[
{"id": "ev_001", "type": "textbox", "label": "Question Number 1"},
{"id": "ev_001-2", "type": "radiobox", "label": "Question Number 2", "values": [10,5,0], "keys": ["best","moderate","worst"]},
{"id": "ev_001-3", "type": "checkbox", "label": "Question Number 3", "values": ["a","b","c"]},
{"id": "ev_001-4", "type": "groupbox", "label": "Question Number 4", "values": [10,5,3,2,1], "keys": ["max", "more", "avg", "less", "min"], "text": ["quest", "#title", "question","question", "#title2","Quest","Quest","Quest"]}
]
{
"ev_001": "test",
"ev_001-2": "5",
"ev_001-3": {"a":true, "b": true},
"ev_001-4": {"1_quest": 10, "2.1_question": 5, "2.2_question": 3, "3.1_Quest": 3, "3.2_Quest": 2, "3.3_Quest": 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment