On Oct 23, 2005, at 6:44 PM, Leopold Toetsch wrote:
On Oct 21, 2005, at 18:07, Will Coleda wrote:
There is now rudimentary support for converting parrot objects to
JSON strings.
+ # generate a JSON representation of a PMC.
+ $S0 = _json( $P0 )
$P0 = new .Array
$P0[0] = $P0
et
Leopold Toetsch wrote:
> >> + #$P1 is now a array-like container PMC with three Integer elements.
> The question is of course, which type of PMC array?
The answer is surely, the array-type of the current HLL (as returned by
Parrot_get_ctx_HLL_type).
> does JSON define to deal with self-referenti
On Oct 21, 2005, at 18:07, Will Coleda wrote:
There is now rudimentary support for converting parrot objects to JSON
strings.
+ # generate a JSON representation of a PMC.
+ $S0 = _json( $P0 )
$P0 = new .Array
$P0[0] = $P0
et al, yada yada, ...
Anyway. library/Data/Dumper.imc has the
There is now rudimentary support for converting parrot objects to
JSON strings.
11:56 JSON?
11:56 well, JSON is Javascript Object Notation, at
http://www.crockford.com/JSON/
From the SYNPOSIS:
+ # generate a JSON representation of a PMC.
+ $S0 = _json( $P0 )
+
+ # genera