Page 1 of 1

MQTT + easy save

Posted: Sat Feb 27, 2021 12:51 pm
by fahrulmr
hi,

im new on unity,how to save using easy save???

so my problem is
i received data through MQTT and that is .json format,like screenshot number 1

i add ES3.Save but getting eror

i want to save this data,
how?

i attach 2 screenshot for my problem,can you help how to use your asset??

thanks
fahrul

Re: MQTT + easy save

Posted: Sat Feb 27, 2021 1:40 pm
by Joel
Hi there,

You can find information on how to use Easy Save in the Getting Started guide:
https://docs.moodkie.com/easy-save-3/getting-started/

If you want to save the string directly to file you can use ES3.SaveRaw.

Note that Easy Save is only intended to deserialize data which was serialized using Easy Save, so if you're intending to parse the JSON data you're saving then you would need to parse this yourself. You can get a file as a string using ES3.LoadRawString.

All the best,
Joel

Re: MQTT + easy save

Posted: Sat Feb 27, 2021 1:57 pm
by fahrulmr
so u mean, this data on console (screenshot number 1) from backend cannot save using easy save??

Re: MQTT + easy save

Posted: Sat Feb 27, 2021 2:09 pm
by Joel
If you want to store that data to a file, you can use ES3.SaveRaw.

All the best,
Joel

Re: MQTT + easy save

Posted: Sat Feb 27, 2021 2:21 pm
by fahrulmr
ahhhh many thanks joel,


thank youuu

thats what i need :)