aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-php-shim/Cargo.toml
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 /crates/shirabe-php-shim/Cargo.toml
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 'crates/shirabe-php-shim/Cargo.toml')
-rw-r--r--crates/shirabe-php-shim/Cargo.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/Cargo.toml b/crates/shirabe-php-shim/Cargo.toml
index 881a979..30e132f 100644
--- a/crates/shirabe-php-shim/Cargo.toml
+++ b/crates/shirabe-php-shim/Cargo.toml
@@ -6,6 +6,7 @@ edition.workspace = true
[dependencies]
anyhow.workspace = true
indexmap.workspace = true
+serde.workspace = true
zip.workspace = true
[lints]