xp-framework/xp-framework — pull request #89 by kiesel (2011-12-16 12:50:11+00:00)
Title: Make JsonDecoder / parser accept target encoding

Hi,

instead of not specifying a target encoding and enconding all strings into ```lang.types.String``` objects, this pull request aims to add a target encoding to the decoder- and parser class, so these classes then can convert strings to the requested encoding and put then into native PHP strings.

As consequence, the handling of APIs using JSON will become easier and - even within the XP Framework - less error prone.

This is unfortunately a change in the JSON API back into the direction where we actually started from, so let's discuss and review.