From c50e3a9a24392c1b53d25eb6a6dfd13fd7d5ecc0 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 12 Jun 2026 08:00:57 +0200 Subject: update to 0.4.0 --- REFLECTION | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 2 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 4e5af15..d86f3db 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,6 +1,10 @@ -Extension [ extension #84 fastjson version 0.3.0 ] { +Extension [ extension #84 fastjson version 0.4.0 ] { - - Constants [7] { + - Dependencies { + Dependency [ json (Optional) ] + } + + - Constants [9] { Constant [ int FASTJSON_ERROR_NONE ] { 0 } Constant [ int FASTJSON_ERROR_DEPTH ] { 1 } Constant [ int FASTJSON_ERROR_SYNTAX ] { 4 } @@ -8,6 +12,8 @@ Extension [ extension #84 fastjson version 0.3.0 ] { Constant [ int FASTJSON_ERROR_RECURSION ] { 6 } Constant [ int FASTJSON_ERROR_INF_OR_NAN ] { 7 } Constant [ int FASTJSON_ERROR_UNSUPPORTED_TYPE ] { 8 } + Constant [ int FASTJSON_ERROR_NON_BACKED_ENUM ] { 11 } + Constant [ int FASTJSON_DECODE_RELAXED ] { 8388608 } } - Functions { @@ -26,6 +32,16 @@ Extension [ extension #84 fastjson version 0.3.0 ] { } - Return [ string|false ] } + Function [ function fastjson_file_encode ] { + + - Parameters [4] { + Parameter #0 [ string $filename ] + Parameter #1 [ mixed $value ] + Parameter #2 [ int $flags = 0 ] + Parameter #3 [ int $depth = 512 ] + } + - Return [ bool ] + } Function [ function fastjson_decode ] { - Parameters [4] { @@ -36,6 +52,38 @@ Extension [ extension #84 fastjson version 0.3.0 ] { } - Return [ mixed ] } + Function [ function fastjson_file_decode ] { + + - Parameters [4] { + Parameter #0 [ string $filename ] + Parameter #1 [ ?bool $associative = null ] + Parameter #2 [ int $depth = 512 ] + Parameter #3 [ int $flags = 0 ] + } + - Return [ mixed ] + } + Function [ function fastjson_pointer_get ] { + + - Parameters [5] { + Parameter #0 [ string $json ] + Parameter #1 [ string $pointer ] + Parameter #2 [ ?bool $associative = null ] + Parameter #3 [ int $depth = 512 ] + Parameter #4 [ int $flags = 0 ] + } + - Return [ mixed ] + } + Function [ function fastjson_merge_patch ] { + + - Parameters [5] { + Parameter #0 [ string $target ] + Parameter #1 [ string $patch ] + Parameter #2 [ ?bool $associative = null ] + Parameter #3 [ int $depth = 512 ] + Parameter #4 [ int $flags = 0 ] + } + - Return [ mixed ] + } Function [ function fastjson_validate ] { - Parameters [3] { -- cgit