🥇 Android Development
🥈 Hybrid Development
🥉 iOS Development
package this.is.my.profile
data class Profile (
val person: Person,
val job: String,
val jobDetail: JobDetail,
val hobbies: List<String>,
val wantLearn: List<String>
)
data class JobDetail (
val currentJob: String,
val lastJobs: List<String>
)
data class Person (
val name: String
)
fun main() {
val myProfile = Profile()
myProfile.name = "David Heredia Tartajo"
myProfile.job = "Developer"
myProfile.jobDetail = JobDetail(
currentJob= "Mobile Developer",
lastJobs = arrayListOf(
"Ingenico Developer",
"Web Developer",
"Backend Developer",
"Front Developer"
)
myProfile.hobbies = arrayListOf("Coding", "Animation", "Music", "Gaming", "TV", "Movies", "Anime")
myProfile.wantLearn = arrayListOf("Animation", "3D Design", "Robotics")
}
GET https://david.heredia.dev/profile HTTP/1.1
Host: www.github.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 OPR/113.0.0.0
Accept: text/html, application/xhtml+xml, application/xml;q=0.9, image/webp, */*;q=0.8
HTTP/1.1 200 OK
Content-Type: application/json
Date: Mon, 14 Oct 2024 12:00:00 GMT
Last-Modified: Mon, 14 Oct 2024 12:00:00 GMT
Content-Length: 355
{
"name": "David Heredia Tartajo",
"currentJob":"Mobile Developer",
"lastJobs":[
"Ingenico Developer",
"Web Developer",
"Backend Developer",
"Front Developer"
],
"hobbies": ["Coding", "Animation", "Music", "Gaming", "TV", "Movies", "Anime"],
"wantLearn": ["Animation", "3D Design", "Robotics"]
}