ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/JSON-XS/XS.xs
(Generate patch)

Comparing JSON-XS/XS.xs (file contents):
Revision 1.14 by root, Sat Mar 24 22:55:43 2007 UTC vs.
Revision 1.15 by root, Sun Mar 25 02:32:40 2007 UTC

1037 XPUSHs (decode_json (jsonstr, *SvJSON (self))); 1037 XPUSHs (decode_json (jsonstr, *SvJSON (self)));
1038 1038
1039PROTOTYPES: ENABLE 1039PROTOTYPES: ENABLE
1040 1040
1041void to_json (SV *scalar) 1041void to_json (SV *scalar)
1042 ALIAS:
1043 objToJson = 0
1042 PPCODE: 1044 PPCODE:
1043 XPUSHs (encode_json (scalar, F_UTF8)); 1045 XPUSHs (encode_json (scalar, F_UTF8));
1044 1046
1045void from_json (SV *jsonstr) 1047void from_json (SV *jsonstr)
1048 ALIAS:
1049 jsonToObj = 0
1046 PPCODE: 1050 PPCODE:
1047 XPUSHs (decode_json (jsonstr, F_UTF8)); 1051 XPUSHs (decode_json (jsonstr, F_UTF8));
1048 1052

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines