… | |
… | |
1230 | |
1230 | |
1231 | First comes a comparison between various modules using |
1231 | First comes a comparison between various modules using |
1232 | a very short single-line JSON string (also available at |
1232 | a very short single-line JSON string (also available at |
1233 | L<http://dist.schmorp.de/misc/json/short.json>). |
1233 | L<http://dist.schmorp.de/misc/json/short.json>). |
1234 | |
1234 | |
1235 | {"method": "handleMessage", "params": ["user1", "we were just talking"], \ |
1235 | {"method": "handleMessage", "params": ["user1", |
1236 | "id": null, "array":[1,11,234,-5,1e5,1e7, true, false]} |
1236 | "we were just talking"], "id": null, "array":[1,11,234,-5,1e5,1e7, |
|
|
1237 | true, false]} |
1237 | |
1238 | |
1238 | It shows the number of encodes/decodes per second (JSON::XS uses |
1239 | It shows the number of encodes/decodes per second (JSON::XS uses |
1239 | the functional interface, while JSON::XS/2 uses the OO interface |
1240 | the functional interface, while JSON::XS/2 uses the OO interface |
1240 | with pretty-printing and hashkey sorting enabled, JSON::XS/3 enables |
1241 | with pretty-printing and hashkey sorting enabled, JSON::XS/3 enables |
1241 | shrink). Higher is better: |
1242 | shrink). Higher is better: |