DoConvert v0.70 ā€“ String to Object converter

Easily convert Strings to Objects (or Arrays) with DoConvert.

DOWNLOAD – DoConvert v0.70 (52 KB)

The Library allows you to parse any String formatted in the short Array or Object syntax.
Any given datatype within the String will be converted to its logical ActionScript 3 pendant (i.e. {a:true, b:50}, the value a will be typed Boolen. The value b, uint).

example:
DoConvert code example

Yes, I know. It’s kinda like JSON ;).

Changelog:
v0.6

  • Removed a bug in the StringToObject.as and DoGesture.as, that prevented DoConvert to parse Strings including breaks and/or tabs.
  • Various code optimizations.

v0.62

  • Removed the NaN compiler error.
  • Various code optimizations.

v0.70

  • Added Actionscript 2 version.
  • Reduced Filesize by removing the classes ToArray.as, ToObject.as and Type.as.
  • Various code optimizations.

New Year, new language.

First of all: Happy new Year everyone.

I had a lot of fun updating and tweaking my blog in 2009, and I still plan on extending it in 2010.Especially the response to DoGesture blew me away.

Some of you may have noticed a new contact form, and other subtle changes to the blog (I secretly updated the whole backend framework to a new version of DoSite, which I also plan to release in the next couple of weeks).

The important change however, is the blog language. From now on every new post on this blog is going to be in English. Naturally Iā€™m also going to change every other part of the Website that is still German.

The whole translation process may take some time, so please be patient with me (time is always rare).

Anyway, I wish all of you a happy and successfull 2010.