retrofit - JSON syntax for date time -


my server return json string seems syntax not right. (i use retrofit json show jsonsyntaxexception @ expirestime field. ). check me:

{"messageid":1,"message":"new","expirestime":"fri mar 04 02:12:39 gmt+00:00 2016","senderid":2,"userid":1} 

this image when call api browser:

enter image description here

update:

please take @ old question: here

the entire string needs 1 line. have 2 lines why throwing error you. output should like:

{"messageid":1,"message":"new","expirestime":"fri mar 04 02:12:39 gmt+00:00 2016","senderid":2,"userid":1} 

similar questions:


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -