Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

single data class value api respone

val responseData = response.body().data

  //now you can get any values inside the data object as like below

val header = responseData?.header

val attributeName  = header?.attributeName
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #single #data #class #api #respone
ADD COMMENT
Topic
Name
1+1 =