On Tue, Mar 20, 2012 at 6:46 PM, Pepe Aracil <[email protected]> wrote:
> Hello.
>
> I need a wrapper to interface with a pure javascript library (msgpack)
>
> How can in translate pyjamas object like {"one":1, "str":"Hola",
> "list":[1,2,3,4]} to a JS native object (No JS representation of pyjamas
> dict and list). I need do this translation before call wrapped methods.

 look at the json library, function toJSONString.

 pyjs/src/pyjs/lib/json.py

 l.

Reply via email to