mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-03-04 13:15:55 +08:00

- cJSON library was added to thirdparty for json module - json module added and json.parse() function implemented - thirdparty library sources are directly imported - io.readfile() function added - less than function fix (wasn't returning boolean) - min, max functions added - map check values equal implemented
39 lines
948 B
JSON
39 lines
948 B
JSON
{
|
|
"quiz": {
|
|
"sport": {
|
|
"q1": {
|
|
"question": "Which one is correct team name in NBA?",
|
|
"options": [
|
|
"New York Bulls",
|
|
"Los Angeles Kings",
|
|
"Golden State Warriros",
|
|
"Huston Rocket"
|
|
],
|
|
"answer": "Huston Rocket"
|
|
}
|
|
},
|
|
"maths": {
|
|
"q1": {
|
|
"question": "5 + 7 = ?",
|
|
"options": [
|
|
"10",
|
|
"11",
|
|
"12",
|
|
"13"
|
|
],
|
|
"answer": "12"
|
|
},
|
|
"q2": {
|
|
"question": "12 - 8 = ?",
|
|
"options": [
|
|
"1",
|
|
"2",
|
|
"3",
|
|
"4"
|
|
],
|
|
"answer": "4"
|
|
}
|
|
}
|
|
}
|
|
}
|