in reply to Handling special characters in JSON
Well, if nobody else will RTFM, I will: JSON::XS. :)
perl -MJSON::XS -del # vvvvvvvv DB<1> x JSON::XS->new()->ascii(1)->encode(["\x{00e9}"]) 0 '["\\u00e9"]' # ^^^^^^^^
- tye
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Handling special characters in JSON (TFM)
by ysth (Canon) on Dec 16, 2010 at 03:47 UTC | |
by tye (Sage) on Dec 16, 2010 at 04:35 UTC |