-
Notifications
You must be signed in to change notification settings - Fork 116
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
problem with serialisation character arrays longer than 399 characters. #65
Comments
hi @aardwolf-ge, this is now fixed. if using jsonlab 2.0, a temporary workaround is to set
|
That was extremely fast, but I have another one.
Wherever I use ‘FastArrayParser’ or ‘SimplifyCell’ or not it does not work for me.
Kind regards,
Jacek Szkutnik
Od: Qianqian Fang<mailto:[email protected]>
Wysłano: wtorek, 7 lipca 2020 15:31
Do: fangq/jsonlab<mailto:[email protected]>
DW: aardwolf-ge<mailto:[email protected]>; Mention<mailto:[email protected]>
Temat: Re: [fangq/jsonlab] problem with serialisation character arrays longer than 399 characters. (#65)
hi @aardwolf-ge<https://github.com/aardwolf-ge>, this is now fixed.
if using jsonlab 2.0, a temporary workaround is to set compressstringsize to inf.
jt=savejson('t',t,'CompressStringSize',inf)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#65 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANCP42IJAZ7UOQTKYVTBHPDR2MPSLANCNFSM4OSZTL3A>.
|
can you clarify your reply a little bit more? when you said "it does not work for me", were your referring to the |
Sorry, my bad.
The patch you have committed works perfectly.
When I was writing "it does not work for me" I meant the new issue I have opened a few minutes ago, the one about serialisation and de-serialisation of a one column table containing char data.
Sorry.
…________________________________
Od: Qianqian Fang <[email protected]>
Wysłane: wtorek, 7 lipca 2020 16:36
Do: fangq/jsonlab <[email protected]>
DW: aardwolf-ge <[email protected]>; Mention <[email protected]>
Temat: Re: [fangq/jsonlab] problem with serialisation character arrays longer than 399 characters. (#65)
can you clarify your reply a little bit more? when you said "it does not work for me", were your referring to the 'compressstringsize',inf command? or the patch I just committed? or the two two additional options you mentioned?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#65 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ANCP42JGG4XNAHLRKL5NMCDR2MXG7ANCNFSM4OSZTL3A>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I have found a strange issue:
this code recreates it:
t= ''
for k=1:400
t= [t 'x']
end
jt=savejson(t)
The character array is serialised as a double array.
Compare it to 399 in the loop where everything works fine.
The text was updated successfully, but these errors were encountered: