Hallo,
ich stehe derzeit vor ein Problem dass JSON mit bei "name" nichts ausgibt. Ich hab schon ziemlich viele Möglichkeiten probiert. Entweder gibt er mir nichts aus oder er wirft eine Exception das der Wert nicht null sein darf. Deserialisieren tue ich mit JSON .NET und hab echt keine Ahnung woran das liegt
Der JSON String sieht so aus:
Spoiler anzeigen
Verwendeter Code:
ich stehe derzeit vor ein Problem dass JSON mit bei "name" nichts ausgibt. Ich hab schon ziemlich viele Möglichkeiten probiert. Entweder gibt er mir nichts aus oder er wirft eine Exception das der Wert nicht null sein darf. Deserialisieren tue ich mit JSON .NET und hab echt keine Ahnung woran das liegt
Der JSON String sieht so aus:
Quellcode
- {
- "libraries": [
- {
- "name": "java3d:vecmath:1.3.1"
- },
- {
- "name": "net.sf.trove4j:trove4j:3.0.3"
- },
- {
- "name": "com.ibm.icu:icu4j-core-mojang:51.2"
- },
- {
- "name": "net.sf.jopt-simple:jopt-simple:4.5"
- },
- {
- "name": "com.paulscode:codecjorbis:20101023"
- },
- {
- "name": "com.paulscode:codecwav:20101023"
- },
- {
- "name": "com.paulscode:libraryjavasound:20101123"
- },
- {
- "name": "com.paulscode:librarylwjglopenal:20100824"
- },
- {
- "name": "com.paulscode:soundsystem:20120107"
- },
- {
- "name": "io.netty:netty-all:4.0.10.Final"
- },
- {
- "name": "com.google.guava:guava:15.0"
- },
- {
- "name": "org.apache.commons:commons-lang3:3.1"
- },
- {
- "name": "commons-io:commons-io:2.4"
- },
- {
- "name": "commons-codec:commons-codec:1.9"
- },
- {
- "name": "net.java.jinput:jinput:2.0.5"
- },
- {
- "name": "net.java.jutils:jutils:1.0.0"
- },
- {
- "name": "com.google.code.gson:gson:2.2.4"
- },
- {
- "name": "com.mojang:authlib:1.5.13"
- },
- {
- "name": "org.apache.logging.log4j:log4j-api:2.0-beta9"
- },
- {
- "name": "org.apache.logging.log4j:log4j-core:2.0-beta9"
- },
- {
- "name": "org.lwjgl.lwjgl:lwjgl:2.9.1"
- },
- {
- "name": "org.lwjgl.lwjgl:lwjgl_util:2.9.1"
- },
- {
- "name": "org.lwjgl.lwjgl:lwjgl-platform:2.9.1",
- "natives": {
- "linux": "natives-linux",
- "windows": "natives-windows",
- "osx": "natives-osx"
- },
- "extract": {
- "exclude": [
- "META-INF/"
- ]
- }
- },
- {
- "name": "net.java.jinput:jinput-platform:2.0.5",
- "natives": {
- "linux": "natives-linux",
- "windows": "natives-windows",
- "osx": "natives-osx"
- },
- "extract": {
- "exclude": [
- "META-INF/"
- ]
- }
- },
- {
- "name": "tv.twitch:twitch:5.16"
- },
- {
- "name": "tv.twitch:twitch-platform:5.16",
- "rules": [
- {
- "action": "allow"
- },
- {
- "action": "disallow",
- "os": {
- "name": "linux"
- }
- }
- ],
- "natives": {
- "linux": "natives-linux",
- "windows": "natives-windows-${arch}",
- "osx": "natives-osx"
- },
- "extract": {
- "exclude": [
- "META-INF/"
- ]
- }
- },
- {
- "name": "tv.twitch:twitch-external-platform:4.5",
- "rules": [
- {
- "action": "allow",
- "os": {
- "name": "windows"
- }
- }
- ],
- "natives": {
- "windows": "natives-windows-${arch}"
- },
- "extract": {
- "exclude": [
- "META-INF/"
- ]
- }
- }
- ]
- }
Verwendeter Code:
KaskadekingDE on GitHub
Bitte keine Fragen über Programmierung per PN! Dafür ist das Forum hier.
Who cares? ¯\_(ツ)_/¯
Bitte keine Fragen über Programmierung per PN! Dafür ist das Forum hier.
Who cares? ¯\_(ツ)_/¯