--- JSON-XS/XS.xs 2007/11/29 08:37:11 1.68 +++ JSON-XS/XS.xs 2007/12/05 10:59:28 1.69 @@ -1605,14 +1605,14 @@ PROTOTYPES: ENABLE -void to_json (SV *scalar) +void encode_json (SV *scalar) PPCODE: { JSON json = { F_DEFAULT | F_UTF8 }; XPUSHs (encode_json (scalar, &json)); } -void from_json (SV *jsonstr) +void decode_json (SV *jsonstr) PPCODE: { JSON json = { F_DEFAULT | F_UTF8 };