JavaFX Library Software #18 : Storing Settings in a File with JSON

Published: 08 July 2017
on channel: Genuine Coder
9,302
87

In this video, I have explained how to write out configuration object (Object of Preference class) in to a file with the help of JSON library. JSON allows to write objects as strings (which is also human readable).

For using JSON from java, I have used GSON library : https://github.com/google/gson

During first run of the program, default configuration file is generated with default values. In the next video, I will complete updating the configuration file from settings GUI.

Get the source code from https://github.com/afsalashyana/Libra...

#JSON
#JavaJSON
#JavaFX

Genuine Coder
http://www.genuinecoder.com/


Watch video JavaFX Library Software #18 : Storing Settings in a File with JSON online without registration, duration hours minute second in high quality. This video was added by user Genuine Coder 08 July 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,302 once and liked it 87 people.