From dc9150dc727de505e06a2cd5167f1a16c19e6a27 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 16 May 2026 08:35:23 +0200 Subject: new package --- REFLECTION | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 REFLECTION (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..7946c0f --- /dev/null +++ b/REFLECTION @@ -0,0 +1,62 @@ +Extension [ extension #83 fastjson version 0.2.1 ] { + + - Constants [7] { + Constant [ int FASTJSON_ERROR_NONE ] { 0 } + Constant [ int FASTJSON_ERROR_DEPTH ] { 1 } + Constant [ int FASTJSON_ERROR_SYNTAX ] { 4 } + Constant [ int FASTJSON_ERROR_UTF8 ] { 5 } + Constant [ int FASTJSON_ERROR_RECURSION ] { 6 } + Constant [ int FASTJSON_ERROR_INF_OR_NAN ] { 7 } + Constant [ int FASTJSON_ERROR_UNSUPPORTED_TYPE ] { 8 } + } + + - Functions { + Function [ function fastjson_version ] { + + - Parameters [0] { + } + - Return [ string ] + } + Function [ function fastjson_encode ] { + + - Parameters [3] { + Parameter #0 [ mixed $value ] + Parameter #1 [ int $flags = 0 ] + Parameter #2 [ int $depth = 512 ] + } + - Return [ string|false ] + } + Function [ function fastjson_decode ] { + + - Parameters [4] { + Parameter #0 [ string $json ] + Parameter #1 [ ?bool $associative = null ] + Parameter #2 [ int $depth = 512 ] + Parameter #3 [ int $flags = 0 ] + } + - Return [ mixed ] + } + Function [ function fastjson_validate ] { + + - Parameters [3] { + Parameter #0 [ string $json ] + Parameter #1 [ int $depth = 512 ] + Parameter #2 [ int $flags = 0 ] + } + - Return [ bool ] + } + Function [ function fastjson_last_error ] { + + - Parameters [0] { + } + - Return [ int ] + } + Function [ function fastjson_last_error_msg ] { + + - Parameters [0] { + } + - Return [ string ] + } + } +} + -- cgit