Error when making a JSON patch #4119
-
I want to make an extra difficulty for a mod from another mod using // filename: blissful-metadata.json
// path: mod/_merge/data/songs/blissful
[
{
"op": "add",
"path": "/playData/difficulties/0",
"value": "easy,"
},
{
"op": "add",
"path": "/playData/ratings/-",
"value": {
"easy": 3
}
}
] Here's the original file {
"version": "2.2.4",
"songName": "Blissful",
"artist": "Biddle3",
"charter": "FatzFries",
"divisions": 96,
"looped": false,
"offsets": {
"instrumental": 0,
"altInstrumentals": { },
"vocals": { },
"altVocals": { }
},
"playData": {
"songVariations": [ ],
"difficulties": [
"normal",
"hard"
],
"characters": {
"player": "BF-QT",
"girlfriend": "GF-QT",
"opponent": "QT",
"instrumental": "",
"altInstrumentals": [ ],
"opponentVocals": [
"QT"
],
"playerVocals": [
"BF-QT"
]
},
"stage": "trashAlleyQt",
"noteStyle": "funkin",
"ratings": {
"hard": 6,
"normal": 4
},
"album": "qt",
"previewStart": 0,
"previewEnd": 0
},
"generatedBy": "Friday Night Funkin' - v0.5.3",
"timeFormat": "ms",
"timeChanges": [
{
"t": 0,
"b": 0,
"bpm": 138,
"n": 4,
"d": 4,
"bt": [
4,
4,
4,
4
]
}
]
} |
Beta Was this translation helpful? Give feedback.
Answered by
AbnormalPoof
Feb 8, 2025
Replies: 1 comment 2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ratings
is not an array.