Last active
July 22, 2016 17:38
-
-
Save akexorcist/13cee831357f5335dd324387e4c736de to your computer and use it in GitHub Desktop.
โจทย์แปลง JSON ให้กลายเป็น Java Class
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
| { | |
| "status": "200", | |
| "message": "success", | |
| "brand_list": [ | |
| "Samsung", | |
| "Asus", | |
| "Motorola", | |
| "Sony", | |
| "Amazon", | |
| "Meizu", | |
| "Vivo", | |
| "LG", | |
| "OPPO", | |
| "jFone", | |
| "Nokia", | |
| "i-mobile", | |
| "HTC", | |
| "VAIO", | |
| "Lenovo", | |
| "ZTE", | |
| "DTAC", | |
| "AIS", | |
| "TRUE", | |
| "Huawei", | |
| "iMI", | |
| "Xiaomi", | |
| "Acer", | |
| "Alcatel", | |
| "Dell", | |
| "DigiLand", | |
| "Verizon", | |
| "Wiko", | |
| "Teclast", | |
| "NVIDIA", | |
| "Mpai", | |
| "Sharp", | |
| "Evercoss", | |
| "OnePlus", | |
| "Alcatel One Touch", | |
| "Infinix", | |
| "Ellipsis", | |
| "Kyocera", | |
| "BlackBerry", | |
| "AT&T", | |
| "Obi", | |
| "Chuwi", | |
| "Rikomagic", | |
| "Google", | |
| "SPOX" | |
| ] | |
| } |
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
| { | |
| "customer_data_list": [ | |
| { | |
| "id": 1, | |
| "first_name": "Elizabeth", | |
| "last_name": "Wood", | |
| "email": "[email protected]", | |
| "gender": "Female", | |
| "ip_address": "68.132.108.255" | |
| }, | |
| { | |
| "id": 2, | |
| "first_name": "Lawrence", | |
| "last_name": "Stone", | |
| "email": "[email protected]", | |
| "gender": "Male", | |
| "ip_address": "146.229.243.47" | |
| }, | |
| { | |
| "id": 3, | |
| "first_name": "Joan", | |
| "last_name": "Alexander", | |
| "email": "[email protected]", | |
| "gender": "Female", | |
| "ip_address": "245.41.70.104" | |
| }, | |
| { | |
| "id": 4, | |
| "first_name": "Joshua", | |
| "last_name": "Foster", | |
| "email": "[email protected]", | |
| "gender": "Male", | |
| "ip_address": "53.103.201.211" | |
| }, | |
| { | |
| "id": 5, | |
| "first_name": "Harold", | |
| "last_name": "Castillo", | |
| "email": "[email protected]", | |
| "gender": "Male", | |
| "ip_address": "17.43.191.46" | |
| } | |
| ] | |
| } |
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
| { | |
| "responses": [ | |
| { | |
| "labelAnnotations": [ | |
| { | |
| "mid": "/m/04hgtk", | |
| "description": "head", | |
| "score": 0.6769352 | |
| }, | |
| { | |
| "mid": "/m/0919rx", | |
| "description": "line art", | |
| "score": 0.65083551 | |
| }, | |
| { | |
| "mid": "/m/0n0j", | |
| "description": "area", | |
| "score": 0.57691193 | |
| }, | |
| { | |
| "mid": "/m/03g09t", | |
| "description": "clip art", | |
| "score": 0.54413778 | |
| } | |
| ] | |
| } | |
| ] | |
| } |
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
| { | |
| "status": "OK", | |
| "geocoded_waypoints": [ | |
| { | |
| "geocoder_status": "OK", | |
| "place_id": "ChIJ7cv00DwsDogRAMDACa2m4K8", | |
| "types": [ | |
| "locality", | |
| "political" | |
| ] | |
| }, | |
| { | |
| "geocoder_status": "OK", | |
| "place_id": "ChIJ69Pk6jdlyIcRDqM1KDY3Fpg", | |
| "types": [ | |
| "locality", | |
| "political" | |
| ] | |
| }, | |
| { | |
| "geocoder_status": "OK", | |
| "place_id": "ChIJE9on3F3HwoAR9AhGJW_fL-I", | |
| "types": [ | |
| "locality", | |
| "political" | |
| ] | |
| } | |
| ], | |
| "routes": [ | |
| { | |
| "summary": "I-40 W", | |
| "step": [ | |
| { | |
| "duration": { | |
| "value": 74384, | |
| "text": "20 hours 40 mins" | |
| }, | |
| "distance": { | |
| "value": 2137146, | |
| "text": "1,328 mi" | |
| }, | |
| "start_address": "Oklahoma City, OK, USA", | |
| "end_address": "Los Angeles, CA, USA" | |
| } | |
| ], | |
| "bounds": { | |
| "southwest": { | |
| "lat": 34.05236, | |
| "lng": -118.24356 | |
| }, | |
| "northeast": { | |
| "lat": 41.87811, | |
| "lng": -87.62979 | |
| } | |
| } | |
| } | |
| ] | |
| } |
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
| { | |
| "kind": "postList", | |
| "nextPageToken": "CgkIChjgs7TjuyoQ1-S7qYWZq6gd", | |
| "blog": { | |
| "id": "2112378201659339351" | |
| }, | |
| "items": [ | |
| { | |
| "kind": "blogger#post", | |
| "id": "704826357009259552", | |
| "published": "2016-07-22T15:51:00+07:00", | |
| "updated": "2016-07-22T16:30:47+07:00", | |
| "url": "http://www.akexorcist.com/2016/07/best-practice-for-android-drawable-resource-management.html", | |
| "title": "[Android Design] จัดการภาพที่ใช้ใน Android Application อย่างไรให้ถูกต้อง", | |
| "author": { | |
| "id": "g114162000308411301557", | |
| "displayName": "Ake Exorcist", | |
| "url": "https://www.blogger.com/profile/15427271074457300336", | |
| "image": { | |
| "url": "//lh5.googleusercontent.com/-8jmtqovK1gc/AAAAAAAAAAI/AAAAAAAA5ZM/AkbiWBmGXZ0/s35-c/photo.jpg" | |
| } | |
| }, | |
| "labels": [ | |
| "Android Design" | |
| ] | |
| }, | |
| { | |
| "kind": "blogger#post", | |
| "id": "101915216199452234", | |
| "published": "2016-07-17T04:36:00+07:00", | |
| "updated": "2016-07-17T04:41:31+07:00", | |
| "url": "http://www.akexorcist.com/2016/07/floobits-realtime-collaborative-editing-for-android-and-web-developer.html", | |
| "title": "Floobits - Realtime Collaborative Editing สุดเจ๋งสำหรับ Android และ Web Developer ที่ไม่ควรพลาด", | |
| "author": { | |
| "id": "g114162000308411301557", | |
| "displayName": "Ake Exorcist", | |
| "url": "https://www.blogger.com/profile/15427271074457300336", | |
| "image": { | |
| "url": "//lh5.googleusercontent.com/-8jmtqovK1gc/AAAAAAAAAAI/AAAAAAAA5ZM/AkbiWBmGXZ0/s35-c/photo.jpg" | |
| } | |
| } | |
| }, | |
| { | |
| "kind": "blogger#post", | |
| "id": "6292530361501111392", | |
| "published": "2016-07-13T11:54:00+07:00", | |
| "updated": "2016-07-20T16:35:50+07:00", | |
| "url": "http://www.akexorcist.com/2016/07/device-administration-api-for-enterprise.html", | |
| "title": "[Android Code] รู้กันหรือเปล่าว่าแอนดรอยด์มีสิ่งที่เรียกว่า Device Administrator อยู่นะ", | |
| "author": { | |
| "id": "g114162000308411301557", | |
| "displayName": "Ake Exorcist", | |
| "url": "https://www.blogger.com/profile/15427271074457300336", | |
| "image": { | |
| "url": "//lh5.googleusercontent.com/-8jmtqovK1gc/AAAAAAAAAAI/AAAAAAAA5ZM/AkbiWBmGXZ0/s35-c/photo.jpg" | |
| } | |
| }, | |
| "labels": [ | |
| "Android Code" | |
| ] | |
| }, | |
| { | |
| "kind": "blogger#post", | |
| "id": "6153775714546678617", | |
| "published": "2016-07-05T10:44:00+07:00", | |
| "updated": "2016-07-13T12:19:56+07:00", | |
| "url": "http://www.akexorcist.com/2016/07/brief-and-extra-of-firebase-android-codelabs-in-io-extended-bangkok-part-2.html", | |
| "title": "สรุปเนื้อหาและสิ่งที่ไม่ได้พูดใน Firebase Android Codelabs จากงาน I/O Extended Bangkok [ตอนที่ 2]", | |
| "author": { | |
| "id": "g114162000308411301557", | |
| "displayName": "Ake Exorcist", | |
| "url": "https://www.blogger.com/profile/15427271074457300336", | |
| "image": { | |
| "url": "//lh5.googleusercontent.com/-8jmtqovK1gc/AAAAAAAAAAI/AAAAAAAA5ZM/AkbiWBmGXZ0/s35-c/photo.jpg" | |
| } | |
| }, | |
| "labels": [ | |
| "Android Code" | |
| ] | |
| }, | |
| { | |
| "kind": "blogger#post", | |
| "id": "7267294062401855623", | |
| "published": "2016-07-05T10:42:00+07:00", | |
| "updated": "2016-07-07T23:26:58+07:00", | |
| "url": "http://www.akexorcist.com/2016/07/brief-and-extra-of-firebase-android-codelabs-in-io-extended-bangkok-part-1.html", | |
| "title": "สรุปเนื้อหาและสิ่งที่ไม่ได้พูดใน Firebase Android Codelabs จากงาน I/O Extended Bangkok [ตอนที่ 1] ", | |
| "author": { | |
| "id": "g114162000308411301557", | |
| "displayName": "Ake Exorcist", | |
| "url": "https://www.blogger.com/profile/15427271074457300336", | |
| "image": { | |
| "url": "//lh5.googleusercontent.com/-8jmtqovK1gc/AAAAAAAAAAI/AAAAAAAA5ZM/AkbiWBmGXZ0/s35-c/photo.jpg" | |
| } | |
| }, | |
| "labels": [ | |
| "Android Code" | |
| ] | |
| }, | |
| { | |
| "kind": "blogger#post", | |
| "id": "4164438816048870914", | |
| "published": "2016-06-12T01:25:00+07:00", | |
| "updated": "2016-06-13T07:24:02+07:00", | |
| "url": "http://www.akexorcist.com/2016/06/constrain-layout-the-new-android-layout.html", | |
| "title": "[Android Design] Constrain Layout ของเล่นใหม่ที่จะมาเปลี่ยนโลกของ Android Layout ", | |
| "author": { | |
| "id": "g114162000308411301557", | |
| "displayName": "Ake Exorcist", | |
| "url": "https://www.blogger.com/profile/15427271074457300336", | |
| "image": { | |
| "url": "//lh5.googleusercontent.com/-8jmtqovK1gc/AAAAAAAAAAI/AAAAAAAA5ZM/AkbiWBmGXZ0/s35-c/photo.jpg" | |
| } | |
| }, | |
| "labels": [ | |
| "Android Design" | |
| ] | |
| }, | |
| { | |
| "kind": "blogger#post", | |
| "id": "8708705824656042889", | |
| "published": "2016-05-31T02:06:00+07:00", | |
| "updated": "2016-06-13T08:36:40+07:00", | |
| "url": "http://www.akexorcist.com/2016/05/whats-new-in-android-studio-2-2.html", | |
| "title": "[Android Dev Tips] เตรียมตัวกันให้พร้อมกับ Android Studio 2.2!!", | |
| "author": { | |
| "id": "g114162000308411301557", | |
| "displayName": "Ake Exorcist", | |
| "url": "https://www.blogger.com/profile/15427271074457300336", | |
| "image": { | |
| "url": "//lh5.googleusercontent.com/-8jmtqovK1gc/AAAAAAAAAAI/AAAAAAAA5ZM/AkbiWBmGXZ0/s35-c/photo.jpg" | |
| } | |
| }, | |
| "labels": [ | |
| "Android Dev Tips" | |
| ] | |
| }, | |
| { | |
| "kind": "blogger#post", | |
| "id": "2591053315335095630", | |
| "published": "2016-04-25T02:17:00+07:00", | |
| "updated": "2016-04-25T03:59:10+07:00", | |
| "url": "http://www.akexorcist.com/2016/04/what-is-multi-window-in-android-n-and-how-to-prepare-it.html", | |
| "title": "[Android Code] รู้จัก Multi Window บน Android N และวิธีการรับมือ", | |
| "author": { | |
| "id": "g114162000308411301557", | |
| "displayName": "Ake Exorcist", | |
| "url": "https://www.blogger.com/profile/15427271074457300336", | |
| "image": { | |
| "url": "//lh5.googleusercontent.com/-8jmtqovK1gc/AAAAAAAAAAI/AAAAAAAA5ZM/AkbiWBmGXZ0/s35-c/photo.jpg" | |
| } | |
| }, | |
| "labels": [ | |
| "Android Code" | |
| ] | |
| }, | |
| { | |
| "kind": "blogger#post", | |
| "id": "8404221872895186636", | |
| "published": "2016-04-05T02:23:00+07:00", | |
| "updated": "2016-04-08T12:58:29+07:00", | |
| "url": "http://www.akexorcist.com/2016/04/why-do-we-need-to-know-about-activity-life-cycle-th.html", | |
| "title": "[Android Code] ทำไม Android Developer ควรรู้และเข้าใจใน Activity Life Cycle", | |
| "author": { | |
| "id": "g114162000308411301557", | |
| "displayName": "Ake Exorcist", | |
| "url": "https://www.blogger.com/profile/15427271074457300336", | |
| "image": { | |
| "url": "//lh5.googleusercontent.com/-8jmtqovK1gc/AAAAAAAAAAI/AAAAAAAA5ZM/AkbiWBmGXZ0/s35-c/photo.jpg" | |
| } | |
| }, | |
| "labels": [ | |
| "Android Code" | |
| ] | |
| }, | |
| { | |
| "kind": "blogger#post", | |
| "id": "1561498045448568135", | |
| "published": "2016-03-28T15:53:00+07:00", | |
| "updated": "2016-07-20T14:14:36+07:00", | |
| "url": "http://www.akexorcist.com/2016/03/vector-drawable-with-android-support-library.html", | |
| "title": "[Android Code] ยินดีต้อนรับเข้าสู่โลกของ Vector ด้วย Vector Drawable", | |
| "author": { | |
| "id": "g114162000308411301557", | |
| "displayName": "Ake Exorcist", | |
| "url": "https://www.blogger.com/profile/15427271074457300336", | |
| "image": { | |
| "url": "//lh5.googleusercontent.com/-8jmtqovK1gc/AAAAAAAAAAI/AAAAAAAA5ZM/AkbiWBmGXZ0/s35-c/photo.jpg" | |
| } | |
| }, | |
| "labels": [ | |
| "Android Code" | |
| ] | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment