MQTT + easy save

Discussion and help for Easy Save 3
Post Reply
fahrulmr
Posts: 5
Joined: Sat Feb 27, 2021 12:35 pm

MQTT + easy save

Post 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
Attachments
screenshot2.PNG
screenshot2.PNG (15.69 KiB) Viewed 972 times
screenshot.PNG
screenshot.PNG (59.93 KiB) Viewed 972 times
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: MQTT + easy save

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
fahrulmr
Posts: 5
Joined: Sat Feb 27, 2021 12:35 pm

Re: MQTT + easy save

Post by fahrulmr »

so u mean, this data on console (screenshot number 1) from backend cannot save using easy save??
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

Re: MQTT + easy save

Post by Joel »

If you want to store that data to a file, you can use ES3.SaveRaw.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
fahrulmr
Posts: 5
Joined: Sat Feb 27, 2021 12:35 pm

Re: MQTT + easy save

Post by fahrulmr »

ahhhh many thanks joel,


thank youuu

thats what i need :)
Post Reply