Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

JSON into Array

    
const responseTypes = {
	json: 'application/json',
	text: 'text/*',
	formData: 'multipart/form-data',
	arrayBuffer: '*/*',
	blob: '*/*'
};
    console.log(Object.entries(responseTypes));

/*[each of the json key value becomes an array ]*/
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #JSON #Array
ADD COMMENT
Topic
Name
6+9 =