Last active
March 23, 2018 05:48
-
-
Save goyusia/c3d1cc7c4e54f3fa72903267319563c0 to your computer and use it in GitHub Desktop.
json localication example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var type_a = { | |
| "questions": [ | |
| { | |
| "id": 1, | |
| "order": 1, | |
| "correct_answer": 1, | |
| "question": { | |
| "en": "[EN] 2017년 트위터에 140자였던 글자 제한이 어떻게 되었는가?", | |
| "th": "[TH] 2017년 트위터에 140자였던 글자 제한이 어떻게 되었는가?" | |
| }, | |
| "answer_1": { | |
| "en": "[EN] 2배", | |
| "th": "[TH] 2배" | |
| }, | |
| "answer_2": { | |
| "en": "[EN] 14글자", | |
| "th": "[TH] 14글자" | |
| }, | |
| "answer_3": { | |
| "en": "[EN] 절반", | |
| "th": "[TH] 절반" | |
| }, | |
| "media_image": null | |
| } | |
| ] | |
| }; | |
| var type_b = { | |
| "questions": [ | |
| { | |
| "id": 1, | |
| "order": 1, | |
| "correct_answer": 1, | |
| "question_en": "[EN] 2017년 트위터에 140자였던 글자 제한이 어떻게 되었는가?", | |
| "question_th": "[TH] 2017년 트위터에 140자였던 글자 제한이 어떻게 되었는가?", | |
| "answer_1_en": "[EN] 2배", | |
| "answer_1_en": "[TH] 2배", | |
| "answer_2_en": "[EN] 14글자", | |
| "answer_2_th": "[TH] 14글자", | |
| "answer_3_en": "[EN] 절반", | |
| "answer_3_th": "[TH] 절반", | |
| "media_image": null | |
| } | |
| ] | |
| }; | |
| var type_c = { | |
| "en": { | |
| "questions": [ | |
| { | |
| "id": 1, | |
| "order": 1, | |
| "correct_answer": 1, | |
| "question": "[EN] 2017년 트위터에 140자였던 글자 제한이 어떻게 되었는가?", | |
| "answer_1": "[EN] 2배", | |
| "answer_2": "[EN] 14글자", | |
| "answer_3": "[EN] 절반", | |
| "media_image": null | |
| } | |
| ], | |
| }, | |
| "th": { | |
| "questions": [ | |
| { | |
| "id": 1, | |
| "order": 1, | |
| "correct_answer": 1, | |
| "question": "[TH] 2017년 트위터에 140자였던 글자 제한이 어떻게 되었는가?", | |
| "answer_1": "[TH] 2배", | |
| "answer_2": "[TH] 14글자", | |
| "answer_3": "[TH] 절반", | |
| "media_image": null | |
| } | |
| ] | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment