mirror of
https://github.com/cerbero90/json-parser.git
synced 2025-01-17 04:58:15 +01:00
Add fixtures
This commit is contained in:
parent
b324d3b545
commit
263de30577
50
tests/fixtures/pointers/multiple_pointers.php
vendored
50
tests/fixtures/pointers/multiple_pointers.php
vendored
@ -78,6 +78,56 @@ return [
|
|||||||
"type" => "Devil's Food",
|
"type" => "Devil's Food",
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
'/batters/batter,/topping' => [
|
||||||
|
'batter' => [
|
||||||
|
[
|
||||||
|
"id" => "1001",
|
||||||
|
"type" => "Regular",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"id" => "1002",
|
||||||
|
"type" => "Chocolate",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"id" => "1003",
|
||||||
|
"type" => "Blueberry",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"id" => "1004",
|
||||||
|
"type" => "Devil's Food",
|
||||||
|
],
|
||||||
|
],
|
||||||
|
'topping' => [
|
||||||
|
[
|
||||||
|
"id" => "5001",
|
||||||
|
"type" => "None",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"id" => "5002",
|
||||||
|
"type" => "Glazed",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"id" => "5005",
|
||||||
|
"type" => "Sugar",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"id" => "5007",
|
||||||
|
"type" => "Powdered Sugar",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"id" => "5006",
|
||||||
|
"type" => "Chocolate with Sprinkles",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"id" => "5003",
|
||||||
|
"type" => "Chocolate",
|
||||||
|
],
|
||||||
|
[
|
||||||
|
"id" => "5004",
|
||||||
|
"type" => "Maple",
|
||||||
|
],
|
||||||
|
],
|
||||||
|
],
|
||||||
],
|
],
|
||||||
'empty_array' => [
|
'empty_array' => [
|
||||||
'/-1,/-2' => [],
|
'/-1,/-2' => [],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user