[Moscow.pm] JSON::XS, mod_perl, boolean
Steffen Winkler
steffen на steffen-winkler.de
Вт Ноя 28 02:26:10 PST 2017
use JSON::MaybeXS;
use constant {
false => JSON->false,
true => JSON->true,
};
We check the header content-type and accept to send the right boolean in
REST interfaces.
There is also a problem with numeric, sometime sent as string. We send
(without thinking about) everywhere 0 + $numeric and all is ok.
--Steffen
Am 28.11.2017 um 10:34 schrieb Pavel Zabolotniy via Moscow-pm:
> Привет, moscow-pm!
> Кто-нибудь сталкивался с проблемой
> http://www.perlmonks.org/?node_id=1021294 ?
> Как ее решали?
Подробная информация о списке рассылки Moscow-pm