File tree Expand file tree Collapse file tree 3 files changed +6
-74
lines changed
Expand file tree Collapse file tree 3 files changed +6
-74
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,11 @@ The [JSON](https://wikipedia.org/wiki/JavaScript_Object_Notation) adapter provid
4343
4444Available options include:
4545
46- | Option | Data Type | Default Value |
47- | ---------------------------| -----------------------------| ---------------------------------|
48- | ` cycle_check ` | ` boolean ` | ` false ` |
49- | ` object_decode_type ` | ` Laminas\Json\Json::TYPE_* ` | ` Laminas\Json\Json::TYPE_ARRAY ` |
50- | ` enable_json_expr_finder ` | ` boolean ` | ` false ` |
46+ | Option | Data Type | Default Value | Notes |
47+ | ---------------------------| -----------------------------| ---------------------------------| ------------------------------------------------------- |
48+ | ` cycle_check ` | ` boolean ` | ` false ` | ** Deprecated ** . Will be remvoed in v4 |
49+ | ` object_decode_type ` | ` Laminas\Json\Json::TYPE_* ` | ` Laminas\Json\Json::TYPE_ARRAY ` | ** Deprecated ** . Will be replaced by assoc_array in v4 |
50+ | ` enable_json_expr_finder ` | ` boolean ` | ` false ` | ** Deprecated ** . Will be remvoed in v4 |
5151
5252## The PhpCode Adapter
5353
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ public function testAdapterAcceptsOptions(): void
3535 self ::assertEquals (true , $ adapter ->getOptions ()->getCycleCheck ());
3636 self ::assertEquals (true , $ adapter ->getOptions ()->getEnableJsonExprFinder ());
3737 self ::assertEquals (1 , $ adapter ->getOptions ()->getObjectDecodeType ());
38+ self ::assertEquals (true , $ adapter ->getOptions ()->isAssocArray ());
3839 }
3940
4041 public function testSerializeString (): void
You can’t perform that action at this time.
0 commit comments