Yorhel
55baa6c9a6
json_parse(): Disallow control characters in strings by default
...
Deviating from the standard, but more consistent other FU functions.
2025-06-04 18:48:08 +02:00
Yorhel
d0c5397e2d
json_parse()/pgtypes: Fix accidental creation of read-only array/hash values
...
&PL_sv_* shouldn't be used when constructing arrays or hashes in this
context.
2025-04-28 10:23:51 +02:00
Yorhel
e7a9f165de
Fix use of SvPVXtrue() where SvTRUEx() was intended
2025-04-07 14:29:21 +02:00
Yorhel
15954f4ad5
Pg: Add "$hex" pseudo-type
2025-02-28 13:49:07 +01:00
Yorhel
867543267f
Fixes for perl 5.36 with multiplicity + memleak in $st->kv methods
...
I always keep messing up the aTHX_ and pTHX_ stuff because my system
perl isn't built with multiplicity, and I still haven't found a
satisfactory way of finding SV leaks. Valgrind can't track those :(
2025-02-13 06:26:58 +01:00
Yorhel
0d19ccdc1b
Fix build for threaded perl + additional project idea
2025-02-01 13:39:58 +01:00
Yorhel
13eaeb1d4a
jsonparse: Add max_depth, max_size and offset options
...
This completes all the functionality that I wanted from the JSON parser.
2025-02-01 11:01:49 +01:00
Yorhel
ebe84167e7
jsonparse: A bunch of performance improvements
...
Turrns out JSON::XS had some pretty good ideas that I could borrow.
2025-01-31 18:42:21 +01:00
Yorhel
7cdc02e399
jsonparse: Add basic JSON parser
...
Some TODO's left and this needs benchmarking.
2025-01-31 07:29:06 +01:00