Can use a.Preferences().StringWithFallback() manipulate json data? #3578
Answered
by
Jacalz
junmaqiang
asked this question in
Q&A
-
The data format is json, I don't want to use data software exclusively, I just want to use the one provided by fyne//var MoneyData = [][]string{
// {"218991153800884", "2022-11-12 10:23:01", "A", "12", "20", "1"},
// {"218991153800884", "2022-01-12 10:23:11", "B", "12", "20", "1"},
// {"218991153800884", "2022-12-12 10:23:12", "C", "-12", "20", "2"},
// {"218991153800884", "2022-09-12 10:13:01", "D", "-2", "20", "2"},
//} how to operate ?I see that Preferences() is close to what I thought, but the format doesn't match |
Beta Was this translation helpful? Give feedback.
Answered by
Jacalz
Jan 17, 2023
Replies: 1 comment 1 reply
-
I am not entirely sure that I understand the question. Can you not save the json data as a string and store that? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Jacalz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am not entirely sure that I understand the question. Can you not save the json data as a string and store that?