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

Опубликовано: 08 Июль 2017
на канале: 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/


Смотрите видео JavaFX Library Software #18 : Storing Settings in a File with JSON онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Genuine Coder 08 Июль 2017, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 9,302 раз и оно понравилось 87 людям.