[Catalyst] How to de-serialize json?
Hans Dieter Pearcey
hdp.perl.catalyst.users at weftsoar.net
Thu Jan 28 00:31:22 GMT 2010
Excerpts from Bill Moseley's message of Wed Jan 27 19:14:29 -0500 2010:
> I see. So you are saying that Content-Type: application/json might need to
> be deserialized differently in different applications that share the same
> interpreter? Obviously, json could decode into an array ref so that could
> not be mapped to request parameters. Is that what you mean? Or that an
> application might want the raw json?
Well, we know from this thread that the last one, at least, is true; you would
like it to go into body_params and I wouldn't.
More information about the Catalyst