aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cargo.lock
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-06-05 05:10:50 +0900
committernsfisis <nsfisis@gmail.com>2026-06-05 05:10:50 +0900
commit0bd0c361297903888c1f53af67d547ef2858882f (patch)
treed8dcd1e116569583252c530cf83b8ac41b1f1e86 /Cargo.lock
parentd0edb5b7ac3456f99c2f2576e8992cc12d60574a (diff)
downloadphp-shirabe-0bd0c361297903888c1f53af67d547ef2858882f.tar.gz
php-shirabe-0bd0c361297903888c1f53af67d547ef2858882f.tar.zst
php-shirabe-0bd0c361297903888c1f53af67d547ef2858882f.zip
refactor(json): make json encode helpers accept serde::Serialize
Change json_encode/json_encode_ex and JsonFile::encode/encode_with_options to take a generic serde::Serialize value instead of &PhpMixed, implement Serialize for PhpMixed/ArrayObject, and drop the PhpMixed::String wrapping at JsonManipulator call sites in favor of passing raw values. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock1
1 files changed, 1 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 55fac3c..92e8cf8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1012,6 +1012,7 @@ version = "0.0.1"
dependencies = [
"anyhow",
"indexmap",
+ "serde",
"zip",
]