--- JSON-XS/XS.xs 2007/03/24 22:55:43 1.14 +++ JSON-XS/XS.xs 2007/03/25 02:32:40 1.15 @@ -1039,10 +1039,14 @@ PROTOTYPES: ENABLE void to_json (SV *scalar) + ALIAS: + objToJson = 0 PPCODE: XPUSHs (encode_json (scalar, F_UTF8)); void from_json (SV *jsonstr) + ALIAS: + jsonToObj = 0 PPCODE: XPUSHs (decode_json (jsonstr, F_UTF8));