0

I have below properties file

student.properties

firstname=John
lastname=Ryan
city=NewYork

If i want to get output in Json format how can i get it using springboot and restful? To read student.properties i have used ConfigurationProperties and PropertySource and i got the output in plain text format only.

  • 1
    Does this answer your question? [java properties to json](https://stackoverflow.com/questions/23871694/java-properties-to-json) – Julian Nov 12 '19 at 20:51
  • Please describe your question by giving a complete and brief example. – ASK Nov 13 '19 at 04:32

0 Answers0