Use fork of JsonMapper to solve cweiske/jsonmapper#210

This commit is contained in:
Dylan K. Taylor 2023-05-30 14:30:28 +01:00
parent c3ceeeace7
commit 76749cbaa7
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D
2 changed files with 27 additions and 13 deletions

View File

@ -33,7 +33,7 @@
"composer-runtime-api": "^2.0", "composer-runtime-api": "^2.0",
"adhocore/json-comment": "^1.1", "adhocore/json-comment": "^1.1",
"fgrosse/phpasn1": "^2.3", "fgrosse/phpasn1": "^2.3",
"netresearch/jsonmapper": "^4.0", "netresearch/jsonmapper": "dev-array-in-string-property-error as 4.2.0",
"pocketmine/bedrock-block-upgrade-schema": "~2.1.0+bedrock-1.19.80", "pocketmine/bedrock-block-upgrade-schema": "~2.1.0+bedrock-1.19.80",
"pocketmine/bedrock-data": "~2.2.0+bedrock-1.19.80", "pocketmine/bedrock-data": "~2.2.0+bedrock-1.19.80",
"pocketmine/bedrock-item-upgrade-schema": "~1.2.0+bedrock-1.19.80", "pocketmine/bedrock-item-upgrade-schema": "~1.2.0+bedrock-1.19.80",
@ -93,5 +93,11 @@
"update-translation-apis": [ "update-translation-apis": [
"@php build/generate-known-translation-apis.php" "@php build/generate-known-translation-apis.php"
] ]
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/dktapps/JsonMapper.git"
} }
]
} }

30
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "7ca2d4ed0987ac17cf615d67945f5687", "content-hash": "80cc5ebf379cf4f425bf98e10611713e",
"packages": [ "packages": [
{ {
"name": "adhocore/json-comment", "name": "adhocore/json-comment",
@ -198,16 +198,16 @@
}, },
{ {
"name": "netresearch/jsonmapper", "name": "netresearch/jsonmapper",
"version": "v4.2.0", "version": "dev-array-in-string-property-error",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/cweiske/jsonmapper.git", "url": "https://github.com/dktapps/jsonmapper.git",
"reference": "f60565f8c0566a31acf06884cdaa591867ecc956" "reference": "4a82d1b98b99d682b660d6caa9b3816b2abc794c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/f60565f8c0566a31acf06884cdaa591867ecc956", "url": "https://api.github.com/repos/dktapps/jsonmapper/zipball/4a82d1b98b99d682b660d6caa9b3816b2abc794c",
"reference": "f60565f8c0566a31acf06884cdaa591867ecc956", "reference": "4a82d1b98b99d682b660d6caa9b3816b2abc794c",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -227,7 +227,6 @@
"JsonMapper": "src/" "JsonMapper": "src/"
} }
}, },
"notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
"OSL-3.0" "OSL-3.0"
], ],
@ -243,9 +242,9 @@
"support": { "support": {
"email": "cweiske@cweiske.de", "email": "cweiske@cweiske.de",
"issues": "https://github.com/cweiske/jsonmapper/issues", "issues": "https://github.com/cweiske/jsonmapper/issues",
"source": "https://github.com/cweiske/jsonmapper/tree/v4.2.0" "source": "https://github.com/dktapps/jsonmapper/tree/array-in-string-property-error"
}, },
"time": "2023-04-09T17:37:40+00:00" "time": "2023-05-30T13:10:31+00:00"
}, },
{ {
"name": "pocketmine/bedrock-block-upgrade-schema", "name": "pocketmine/bedrock-block-upgrade-schema",
@ -3480,9 +3479,18 @@
"time": "2021-07-28T10:34:58+00:00" "time": "2021-07-28T10:34:58+00:00"
} }
], ],
"aliases": [], "aliases": [
{
"package": "netresearch/jsonmapper",
"version": "dev-array-in-string-property-error",
"alias": "4.2.0",
"alias_normalized": "4.2.0.0"
}
],
"minimum-stability": "stable", "minimum-stability": "stable",
"stability-flags": [], "stability-flags": {
"netresearch/jsonmapper": 20
},
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {