Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lua-rapidjson dump 可以往别的路径写入文件么 #51

Closed
Zoe0208 opened this issue Jul 6, 2020 · 1 comment
Closed

lua-rapidjson dump 可以往别的路径写入文件么 #51

Zoe0208 opened this issue Jul 6, 2020 · 1 comment

Comments

@Zoe0208
Copy link

Zoe0208 commented Jul 6, 2020

我是用Unity xlua开发的
lua-rapidjson dump 可以往别的路径写入文件么(比如沙盒),默认只传文件名会生成在Assets同级目录,我传路径的话会报错

LuaException: GameSaveData/GameSaveDataTest:9: error while open file: C:/Users/user/AppData/LocalLow/XP/xpgame/Game/Test.json

@xpol
Copy link
Owner

xpol commented Jul 6, 2020

encode 得到内容自己写文件,

@xpol xpol closed this as completed Jul 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants