Serializer to give more info when failing.

Feature requests for future versions of Hollywood can be voiced here
Post Reply
Bugala
Posts: 1390
Joined: Sun Feb 14, 2010 7:11 pm

Serializer to give more info when failing.

Post by Bugala »

It would be nice if Serializer would give more info about what exactly it is failing to serialize, as I was just moment ago having a problem where Hollywoods serializer worked fine, but when trying to serialize Table into JSON-file, it simply told that Serializer failed, and I had no clue why.

Eventually I found out that problem was that problem was when it was trying to save directory names in my program which contained SPACES in them.

I believe this is something that Serializer could inform to user, that either "cant serialize -this string-", or "can't serialize names with spaces in them".
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Serializer to give more info when failing.

Post by airsoftsoftwair »

That's difficult to do because plugins would also have to support it. Not very likely to come. Just use a JSON validator ;)
Post Reply